mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 05:32:08 +08:00

One of the big advantages is a nicer menu on mobile. This commit also fixes a bug where the close modal action was called for any destroyed d-menu trigger, even if this specific menu was not expanding, which means it was closing a different modal than its own modal, given we can only have one modal at a time.
20 lines
239 B
SCSS
20 lines
239 B
SCSS
.dropdown-menu {
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
&__item {
|
|
list-style: none;
|
|
|
|
.btn {
|
|
padding: 0.65rem 1rem;
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
}
|
|
}
|
|
|
|
&__divider {
|
|
margin: 0rem;
|
|
height: 0;
|
|
}
|
|
}
|