FIX: remove unexpected scrollbar from the new user menu (#18089)

This commit is contained in:
Andrei Prigorshnev 2022-08-25 23:18:26 +04:00 committed by GitHub
parent 7be6f341a7
commit 14ab819c1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 22 deletions

View File

@ -94,28 +94,6 @@
right: 0;
width: 320px;
padding: 0;
#quick-access-profile {
ul {
flex-wrap: nowrap;
height: 100%;
align-items: center;
overflow-y: auto; // really short viewports
}
li {
flex: 1 1 auto;
max-height: 3em; // prevent buttons from getting too tall
> * {
// button, a, and everything else
height: 100%;
align-items: center;
margin: 0;
padding: 0 0.5em;
}
.d-icon {
padding-top: 0;
}
}
}
.panel-body-bottom {
flex: 0;
@ -207,6 +185,28 @@
#quick-access-profile {
display: inline;
max-height: 99%; // macOS Chrome sometimes adds an unneeded scrollbar at 100%
ul {
flex-wrap: nowrap;
height: 100%;
align-items: center;
overflow-y: auto; // really short viewports
}
li {
flex: 1 1 auto;
max-height: 3em; // prevent buttons from getting too tall
> * {
// button, a, and everything else
height: 100%;
align-items: center;
margin: 0;
padding: 0 0.5em;
}
.d-icon {
padding-top: 0;
}
}
.set-user-status {
.emoji {