1st day patch, mobile fixes

This commit is contained in:
Xanazf 2024-11-09 12:36:09 +02:00
parent 48b954c410
commit 221c16820c
No known key found for this signature in database
GPG key ID: 4E4A5AD1FB748427
3 changed files with 25 additions and 2 deletions

View file

@ -22,6 +22,7 @@
border-radius: 6px;
transition: background-color 0.2s ease;
padding: 0.4em;
font-size: 1rem;
&:hover {
background-color: hsl(var(--nav-hovered-bkg));
@ -37,6 +38,14 @@
}
}
.fade {
-webkit-mask-image: linear-gradient(
to right,
#000 80%,
transparent
);
}
.nav-collapsible {
overflow: hidden;
@ -56,9 +65,14 @@
}
& > a {
font-size: 1rem;
border-radius: 6px 0 0 6px;
padding: 0.4em;
flex-grow: 1;
display: flex;
align-items: center;
justify-content: flex-start;
overflow: hidden;
}
&:hover {
@ -75,6 +89,7 @@
display: flex;
flex-direction: row;
align-items: stretch;
justify-content: center;
gap: 0.1em;
& svg {