FIX: topic-admin-popup-menu was overflowing on small screens (#9944)

This commit is contained in:
Joffrey JAFFEUX 2020-05-30 10:53:08 +02:00 committed by GitHub
parent 530c6594cb
commit 93bd1ff228
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 14 deletions

View File

@ -221,29 +221,24 @@ sub sub {
@media screen and (max-height: 600px) {
.topic-admin-popup-menu {
box-sizing: border-box;
width: 100%;
padding: 1em;
.header {
padding: 0;
position: relative;
.close-button {
position: absolute;
display: inline-block;
right: 0;
top: -0.1em;
width: auto;
background: transparent;
}
}
padding: 0.25em;
ul {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
@media screen and (max-width: 550px) {
grid-template-columns: 1fr 1fr;
}
.popup-menu-btn {
@include ellipsis;
}
li {
border: 0;
min-width: 0;
}
}
}
}