File tree Expand file tree Collapse file tree 4 files changed +48
-59
lines changed Expand file tree Collapse file tree 4 files changed +48
-59
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ converse.plugins.add('converse-chatboxviews', {
2929 const extra_classes = api . settings . get ( 'singleton' ) ? [ 'converse-singleton' ] : [ ] ;
3030 extra_classes . push ( `converse-${ api . settings . get ( 'view_mode' ) } ` ) ;
3131 return html `< converse-app-chat
32- class ="converse-chatboxes row justify-content-start g-0 ${ extra_classes . join ( ' ' ) } "
32+ class ="converse-app converse- chatboxes row justify-content-start g-0 ${ extra_classes . join ( ' ' ) } "
3333 > </ converse-app-chat > ` ;
3434 } ,
3535 renderControlbox : ( ) => html `
Original file line number Diff line number Diff line change 22@import ' bootstrap/scss/variables' ;
33@import ' bootstrap/scss/mixins' ;
44
5- .conversejs {
6- & .converse-fullscreen {
7- converse-app-container {
8- display : flex ;
9- justify-content : flex-start ;
10- height : 100% ;
11- position : fixed ;
12- bottom : 0 ;
13- right : 0 ;
14- left : 0 ;
15- }
16- }
17- }
18-
19-
20- .conversejs {
21- converse-app-chat {
22- & .converse-overlayed {
23- > .row {
24- flex-direction : row-reverse ;
25- }
26- & .converse-chatboxes {
27- z-index : 1031 ; // One more than bootstrap navbar
28- position : fixed ;
29- bottom : 0 ;
30- right : 0 ;
31- }
32- }
33-
34- & .converse-fullscreen {
35- flex-wrap : nowrap ;
36- & .converse-chatboxes {
37- width : 100% ;
38- position : sticky ;
39- }
40- }
41-
42- & .converse-embedded {
43- bottom : auto ;
44- height : 100% ; // When embedded, it fills the containing element
45- position : relative ;
46- right : auto ;
47- width : 100% ;
48-
49- & .converse-chatboxes {
50- z-index : 1031 ; // One more than bootstrap navbar
51- position : inherit ;
52- flex-wrap : nowrap ;
53- bottom : auto ;
54- height : 100% ;
55- width : 100% ;
56- }
57- }
58- }
59- }
60-
615@include media-breakpoint-down (sm) {
626 .conversejs {
637 converse-app-chat {
Original file line number Diff line number Diff line change @@ -18,3 +18,49 @@ converse-root {
1818 position : relative ;
1919 }
2020}
21+
22+ .conversejs {
23+ & .converse-fullscreen {
24+ converse-app-container {
25+ display : flex ;
26+ justify-content : flex-start ;
27+ height : 100% ;
28+ position : fixed ;
29+ bottom : 0 ;
30+ right : 0 ;
31+ left : 0 ;
32+ }
33+ }
34+ }
35+
36+ .conversejs {
37+ .converse-app {
38+ & .converse-overlayed {
39+ > .row {
40+ flex-direction : row-reverse ;
41+ }
42+ z-index : 1031 ; // One more than bootstrap navbar
43+ position : fixed ;
44+ bottom : 0 ;
45+ right : 0 ;
46+ }
47+
48+ & .converse-fullscreen {
49+ flex-wrap : nowrap ;
50+ width : 100% ;
51+ position : sticky ;
52+ }
53+
54+ & .converse-embedded {
55+ bottom : auto ;
56+ flex-wrap : nowrap ;
57+ height : 100% ;
58+ height : 100% ; // When embedded, it fills the containing element
59+ position : inherit ;
60+ position : relative ;
61+ right : auto ;
62+ width : 100% ;
63+ z-index : 1031 ; // One more than bootstrap navbar
64+ }
65+ }
66+ }
Original file line number Diff line number Diff line change @@ -9,13 +9,12 @@ converse.plugins.add('converse-app-todo', {
99 const extra_classes = api . settings . get ( 'singleton' ) ? [ 'converse-singleton' ] : [ ] ;
1010 extra_classes . push ( `converse-${ api . settings . get ( 'view_mode' ) } ` ) ;
1111 return html `< converse-app-todo
12- class ="converse-chatboxes row justify-content-start g-0 ${ extra_classes . join ( ' ' ) } "
12+ class ="converse-app row justify-content-start g-0 ${ extra_classes . join ( ' ' ) } "
1313 > </ converse-app-todo > ` ;
1414 } ,
1515 renderControlbox : ( ) => {
1616 return html `< converse-todo-lists > </ converse-todo-lists > ` ;
1717 } ,
18- active : false ,
1918 } ) ;
2019 } ,
2120} ) ;
You can’t perform that action at this time.
0 commit comments