discourse/plugins/poll/assets/stylesheets/desktop/poll-ui-builder.scss
Jarek Radosz 407ff39fdf
FIX: Poll builder UI issues (#22931)
1. recent css regression related to modal upgrade
2. autofocus and on-enter regressions
3. array related linting issue (reliance on Ember's firstObject/lastObject)
2023-08-02 12:55:25 +02:00

34 lines
578 B
SCSS

.poll-ui-builder.modal {
.modal-inner-container {
width: 40em; // scale with user font-size
max-width: 100vw; // prevent overflow if user font-size is enormous
}
.modal-body {
max-height: unset;
}
.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(--primary-low);
}
}