mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 00:43:38 +08:00
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) {
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user