Top bar height as css variable

This commit is contained in:
Adina Țeudan 2023-01-20 12:04:02 +02:00
parent e96093a81b
commit 5208063f48
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ section.settings {
right: 0;
bottom: 0;
width: 100%;
height: calc(100vh - 111px);
height: calc(100vh - var(--iqser-top-bar-height) - 50px);
transition: height ease-in-out 0.2s;
}

View File

@ -1,7 +1,7 @@
@use '../../../assets/styles/common-mixins' as mixins;
:host cdk-virtual-scroll-viewport {
height: calc(100vh - 50px - 31px - 111px);
height: calc(100vh - 50px - 31px - var(--iqser-top-bar-height) - 50px);
overflow-y: hidden !important;
background-color: var(--iqser-background);
@include mixins.scroll-bar;