Top bar height as css variable

This commit is contained in:
Adina Țeudan 2023-01-20 11:44:48 +02:00
parent ab8d164205
commit e96093a81b
2 changed files with 3 additions and 2 deletions

View File

@ -50,6 +50,7 @@ body {
--iqser-app-name-font-family: 'some placeholder value that should be overridden when configuring a theme';
--iqser-app-name-font-size: 18px;
--iqser-app-name-color: black;
--iqser-top-bar-height: 61px;
}
$required-variables: 'iqser-font-family' 'iqser-primary';

View File

@ -1,7 +1,7 @@
@use 'common-mixins';
.top-bar {
height: 61px;
height: var(--iqser-top-bar-height);
width: 100vw;
display: flex;
justify-content: space-between;
@ -63,7 +63,7 @@
top: 0;
z-index: 100;
right: 0;
height: 61px;
height: var(--iqser-top-bar-height);
word-break: break-all;
display: flex;
justify-content: center;