discourse/app/assets/stylesheets/common/components/drafts-dropdown-menu.scss
David Taylor d88ee33eb6
DEV: Introduce stylelint (#29852)
Stylelint is a css linter: https://stylelint.io/

As part of this change we have added two javascript scripts:

```
pnpm lint:css
pnpm lint:css:fix
```

Look at `.vscode/settings.json.sample` and `.vscode/extensions.json` for
configuration in VSCode.

---------

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2025-01-20 15:27:42 +00:00

24 lines
391 B
SCSS

// Styles for the drafts dropdown menu
.topic-drafts-menu-trigger {
margin-left: -0.3em;
}
.topic-drafts-menu-content {
margin-top: -0.4em;
}
.topic-drafts-menu-content .dropdown-menu {
.btn .d-button-label {
@include ellipsis;
}
.view-all-drafts {
display: flex;
justify-content: space-between;
span:first-child {
color: var(--primary-high);
}
}
}