mirror of
https://github.com/discourse/discourse.git
synced 2024-12-06 01:53:38 +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;
|
|
}
|
|
}
|
|
}
|