mirror of
https://github.com/discourse/discourse.git
synced 2024-12-08 22:56:19 +08:00
cf8b81771f
DropdownMenu component is meant as a way to describe the content of menus. Syntax: ``` <DropdownMenu as |dm|> <dm.item class="test"> First </dm.item> <dm.divider class="foo" /> <dm.item class="bar"> Second </dm.item> </DropdownMenu> ```
8 lines
81 B
SCSS
8 lines
81 B
SCSS
.dropdown-menu {
|
|
&__item {
|
|
.btn {
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
}
|
|
}
|