0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 18:01:48 +08:00
discourse/plugins/poll/assets/stylesheets/desktop/poll-ui-builder.scss
chapoi ada0aa0d4e
UX: modal modifier class BEM rename + new modifier (#40369)
- Renames .d-modal modifiers from single-dash (-large, -max) to --large,
--max across SCSS, <DModal>, and all callers (core +
discourse-local-dates plugin) to match Discourse's BEM convention.
- Moves per-modal overrides out of modal.scss into the dedicated
modal-overrides.scss file
- Add new `has-search` modifier, for use in modals with a inline
filter/search element to avoid jumping height
- Move all core `.modal selectors` to `.d-modal`

This commit should not change anything visually (if all goes well).
2026-05-28 17:36:48 +02:00

25 lines
396 B
SCSS
Vendored

.poll-ui-builder.d-modal {
.poll-number {
margin-right: 10px;
&:last-of-type {
margin-right: 0;
}
}
.options {
display: flex;
justify-content: space-between;
}
.column {
display: inline-block;
width: calc(50% - 10px);
}
.d-editor-preview {
margin-top: 5px;
padding-top: 5px;
border-top: 1px solid var(--content-border-color);
}
}