Skip to content

A platform for community discussion. Free, open, simple.

FIX: update poll-builder to new modal design

Joeec7f597274ea
diff --git a/plugins/poll/assets/stylesheets/common/poll-ui-builder.scss b/plugins/poll/assets/stylesheets/common/poll-ui-builder.scss
index 614025b0579..404074d6100 100644
--- a/plugins/poll/assets/stylesheets/common/poll-ui-builder.scss
+++ b/plugins/poll/assets/stylesheets/common/poll-ui-builder.scss
@@ -1,10 +1,6 @@
.poll-ui-builder-form {
margin: 0;
- .input-group {
- padding: 10px;
- }
-
label {
font-weight: bold;
display: inline;
@@ -12,7 +8,7 @@
.tip {
display: block;
- margin-bottom: 5px;
+ min-height: 20px;
}
.input-group-label {
@@ -20,11 +16,33 @@
width: 45px;
}
- .combobox {
- margin-right: 5px;
+ .poll-number {
+ margin: 8px 0;
+
+ .tip {
+ margin-bottom: 6px;
+ }
+
+ input {
+ width: 70px;
+ }
+
+ input + .tip {
+ margin-top: 4px;
+ }
+ }
+
+ .poll-textarea textarea {
+ width: 100%;
+ height: 90px;
+ box-sizing: border-box;
+ }
+
+ .poll-select + .poll-textarea {
+ margin-top: 12px;
}
- .poll-options-min, .poll-options-max, .poll-options-step {
- width: 70px !important;
+ .poll-checkbox {
+ margin-top: 4px;
}
}