1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-19 23:40:07 +00:00

fix: account for width on sidebar media queries

This commit is contained in:
patak 2023-05-02 17:44:34 +02:00
parent 68f2c3fc5b
commit df0c30c2f2
2 changed files with 9 additions and 3 deletions

View file

@ -42,7 +42,7 @@ const { notifications } = useNotifications()
.spacer {
margin-top: 0.5em;
}
@media screen and ( max-height: 820px ) {
@media screen and ( max-height: 820px ) and ( min-width: 640px ) {
.spacer {
margin-top: 0;
}

View file

@ -79,13 +79,19 @@ const noUserVisual = computed(() => isHydrated.value && props.userOnly && !curre
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
@media screen and ( max-height: 820px ) {
@media screen and ( max-height: 820px ) and ( min-width: 1280px ) {
.item {
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
}
@media screen and ( max-height: 720px ) {
@media screen and ( max-height: 720px ) and ( min-width: 640px ) {
.item {
padding-top: 0.35rem;
padding-bottom: 0.35rem;
}
}
@media screen and ( max-height: 720px ) and ( min-width: 1280px ) {
.item {
padding-top: 0.05rem;
padding-bottom: 0.05rem;