mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 05:43:44 +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> ```
18 lines
221 B
SCSS
18 lines
221 B
SCSS
.dropdown-menu {
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style: none;
|
|
|
|
&__item {
|
|
.btn {
|
|
padding: 0.65rem 1rem;
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
}
|
|
}
|
|
|
|
&__divider {
|
|
margin: 0rem;
|
|
}
|
|
}
|