[frontend/components] Make dropdowns larger on mobile
This commit is contained in:
parent
07ca99f814
commit
7caabbdbfd
2 changed files with 14 additions and 0 deletions
|
@ -22,3 +22,13 @@
|
||||||
.dropdown-root:hover {
|
.dropdown-root:hover {
|
||||||
background-color: var(--hover-color);
|
background-color: var(--hover-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1000px) {
|
||||||
|
.dropdown-menu {
|
||||||
|
top: 3.5rem;
|
||||||
|
left: 0;
|
||||||
|
position: fixed;
|
||||||
|
width: 100vw;
|
||||||
|
max-width: 100vw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -12,4 +12,8 @@
|
||||||
.dropdown-element {
|
.dropdown-element {
|
||||||
margin: 0.5em 0.25em;
|
margin: 0.5em 0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dropdown-element + .dropdown-element {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue