[frontend/components] Improve menu spacing
This commit is contained in:
parent
066e60a1ec
commit
879247bc7c
2 changed files with 6 additions and 6 deletions
|
@ -3,6 +3,9 @@
|
||||||
--left: 0px;
|
--left: 0px;
|
||||||
background-color: var(--foreground-color);
|
background-color: var(--foreground-color);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
row-gap: 0.2rem;
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
border: var(--highlight-color) solid 0.1rem;
|
border: var(--highlight-color) solid 0.1rem;
|
||||||
|
@ -14,6 +17,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
::deep .rule {
|
::deep .rule {
|
||||||
|
align-self: center;
|
||||||
|
margin: 0;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
color: var(--highlight-color);
|
color: var(--highlight-color);
|
||||||
border-width: 0.05rem;
|
border-width: 0.05rem;
|
||||||
|
@ -27,6 +32,7 @@
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
row-gap: 0.5rem;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
|
|
|
@ -19,9 +19,3 @@
|
||||||
.menu-element.danger {
|
.menu-element.danger {
|
||||||
color: var(--danger-color);
|
color: var(--danger-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1000px) {
|
|
||||||
.menu-element + .menu-element {
|
|
||||||
margin-top: 1rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue