fix(shian): only fix height of the title row of the header

This commit is contained in:
Damillora 2021-04-16 20:42:13 +07:00
parent b2a4a3868a
commit 3359eb9575

View File

@ -1,4 +1,3 @@
.site-header {
position: fixed;
z-index: 10;
@ -28,7 +27,7 @@
}
}
&__overlay {
background-color: rgba(0,0,0,0.5);
background-color: rgba(0, 0, 0, 0.5);
}
&__inner {
@ -39,10 +38,10 @@
}
&.enabled &__inner {
background: rgba(0,0,0,0.5);
background: rgba(0, 0, 0, 0.5);
}
&.detached &__inner {
background: rgba(0,0,0,0.5);
background: rgba(0, 0, 0, 0.5);
}
}
@ -50,15 +49,15 @@
display: flex;
flex-direction: column;
@include transition;
height: 3rem;
@include screen(md) {
height: 4rem;
}
height: 100%;
&__top {
display: flex;
flex-direction: row;
height: 100%;
height: 3rem;
@include screen(md) {
height: 4rem;
}
}
&__title {
@ -112,7 +111,7 @@
width: 3rem;
color: $white;
display: inline-block;
@include px(0.50rem);
@include px(0.5rem);
vertical-align: middle;
// @include py(0.25rem);
// @include screen(md) {