mirror of
https://github.com/discourse/discourse.git
synced 2025-03-01 13:58:56 +08:00

When dropdown button text wraps onto multiple lines, it's centered. It should be left-aligned instead. Before: <img src="https://github.com/user-attachments/assets/64db1e0c-8dc0-4e26-8b07-fea938498f80" width="250"/> After: <img src="https://github.com/user-attachments/assets/7f4c1795-291a-4772-bdb0-f848f3904aa4" width="250"/>
21 lines
260 B
SCSS
21 lines
260 B
SCSS
.dropdown-menu {
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
&__item {
|
|
list-style: none;
|
|
|
|
.btn {
|
|
padding: 0.65rem 1rem;
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
&__divider {
|
|
margin: 0;
|
|
height: 0;
|
|
}
|
|
}
|