Only fix logo and metadata if viewport height is sufficient
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (--viewport-lg) {
|
@media (--viewport-lg) and (min-height: 540px) {
|
||||||
.is-fixed .logo {
|
.is-fixed .logo {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 168px;
|
width: 168px;
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (--viewport-xl) {
|
@media (--viewport-xl) and (min-height: 540px) {
|
||||||
.is-fixed .logo {
|
.is-fixed .logo {
|
||||||
width: 224px;
|
width: 224px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,15 +25,17 @@
|
|||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.is-fixed .metadata {
|
|
||||||
position: fixed;
|
|
||||||
}
|
|
||||||
|
|
||||||
.metadata__item {
|
.metadata__item {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (--viewport-lg) and (min-height: 540px) {
|
||||||
|
.is-fixed .metadata {
|
||||||
|
position: fixed;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.metadata__item--light {
|
.metadata__item--light {
|
||||||
color: var(--color-grey);
|
color: var(--color-grey);
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user