FIX: topic-admin-popup-menu was overflowing on small screens (#9944)
This commit is contained in:
parent
530c6594cb
commit
93bd1ff228
|
@ -221,29 +221,24 @@ sub sub {
|
||||||
@media screen and (max-height: 600px) {
|
@media screen and (max-height: 600px) {
|
||||||
.topic-admin-popup-menu {
|
.topic-admin-popup-menu {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
width: 100%;
|
padding: 0.25em;
|
||||||
padding: 1em;
|
|
||||||
.header {
|
|
||||||
padding: 0;
|
|
||||||
position: relative;
|
|
||||||
.close-button {
|
|
||||||
position: absolute;
|
|
||||||
display: inline-block;
|
|
||||||
right: 0;
|
|
||||||
top: -0.1em;
|
|
||||||
width: auto;
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
ul {
|
ul {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 1fr 1fr;
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
|
|
||||||
@media screen and (max-width: 550px) {
|
@media screen and (max-width: 550px) {
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup-menu-btn {
|
.popup-menu-btn {
|
||||||
@include ellipsis;
|
@include ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
border: 0;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue