DEV: remove header-offset changes due to core fix (#21)
This commit is contained in:
parent
14da9cf2c1
commit
a58bdbcfbc
|
@ -10,28 +10,6 @@ $item-height: 40px;
|
||||||
.d-header-wrap {
|
.d-header-wrap {
|
||||||
top: $item-height;
|
top: $item-height;
|
||||||
}
|
}
|
||||||
|
|
||||||
// need to include the menu height in the header offset
|
|
||||||
// then update the header offset where used in core for sidebar and chat
|
|
||||||
:root {
|
|
||||||
--header-offset-with-submenu: calc(
|
|
||||||
var(--header-offset, 0px) + #{$item-height}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar-wrapper {
|
|
||||||
top: var(--header-offset-with-submenu);
|
|
||||||
height: calc(100vh - var(--header-offset-with-submenu, 0px));
|
|
||||||
}
|
|
||||||
|
|
||||||
html.has-full-page-chat body #main-outlet {
|
|
||||||
max-height: calc(
|
|
||||||
var(--chat-vh, 1vh) *
|
|
||||||
100 -
|
|
||||||
var(--header-offset-with-submenu, 0px) -
|
|
||||||
var(--composer-height, 0px)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-menu {
|
.top-menu {
|
||||||
|
|
Loading…
Reference in New Issue