File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 11$item-height : 40px ;
22
33@if $Fixed_mode == " true" {
4- .top-menu {
5- position : fixed ;
4+ .header-submenus {
5+ position : sticky ;
66 top : 0 ;
77 z-index : z (" header" ) + 1 ;
88 }
@@ -14,6 +14,28 @@ $item-height: 40px;
1414 #main-outlet {
1515 padding-top : calc (1.8em + #{$item-height } );
1616 }
17+
18+ // need to include the menu height in the header offset
19+ // then update the header offset where used in core for sidebar and chat
20+ :root {
21+ --header-offset-with-submenu : calc (
22+ var (--header-offset , 0px ) + #{$item-height }
23+ );
24+ }
25+
26+ .sidebar-wrapper {
27+ top : var (--header-offset-with-submenu );
28+ height : calc (100vh - var (--header-offset-with-submenu , 0px ));
29+ }
30+
31+ html .has-full-page-chat body #main-outlet {
32+ max-height : calc (
33+ var (--chat-vh , 1vh ) *
34+ 100 -
35+ var (--header-offset-with-submenu , 0px ) -
36+ var (--composer-height , 0px )
37+ );
38+ }
1739}
1840
1941.top-menu {
You can’t perform that action at this time.
0 commit comments