generated from t/malachite
fix: minor ui issues
This commit is contained in:
parent
3942ad5a19
commit
f3180989af
6 changed files with 24 additions and 7 deletions
|
@ -135,6 +135,10 @@ nav.sticky {
|
|||
top: 0;
|
||||
}
|
||||
|
||||
nav:not(.sticky) {
|
||||
padding: var(--pad-1);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 900px) {
|
||||
main,
|
||||
article,
|
||||
|
@ -254,7 +258,7 @@ video {
|
|||
position: relative;
|
||||
}
|
||||
|
||||
.button:not(nav *, .tab, .dropdown .inner *, .square) {
|
||||
.button:not(.tab, .dropdown .inner *, .square) {
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
|
||||
|
@ -349,10 +353,12 @@ video {
|
|||
color: inherit;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
top: 100%;
|
||||
top: calc(100% + 5px);
|
||||
right: 0;
|
||||
width: max-content;
|
||||
max-width: 15rem;
|
||||
border-radius: var(--radius);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dropdown .inner.surface {
|
||||
|
@ -394,6 +400,10 @@ video {
|
|||
right: unset;
|
||||
}
|
||||
|
||||
nav .dropdown .inner {
|
||||
top: calc(100% + var(--pad-3));
|
||||
}
|
||||
|
||||
/* input */
|
||||
input,
|
||||
textarea,
|
||||
|
@ -819,7 +829,8 @@ menu.col {
|
|||
}
|
||||
|
||||
.message:hover .dropdown.hidden,
|
||||
.message:focus .dropdown.hidden {
|
||||
.message:focus .dropdown.hidden,
|
||||
.message:has(.open) .dropdown.hidden {
|
||||
display: flex !important;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue