discourse/app/assets/stylesheets/common/components/dropdown-menu.scss
Joffrey JAFFEUX cf8b81771f
DEV: implements <DropdownMenu /> (#26917)
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>
```
2024-05-08 09:08:42 +02:00

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;
}
}