From ec7f597274eaf2657e0f21fa7b4a0118ecfe6240 Mon Sep 17 00:00:00 2001 From: Joe <33972521+hnb-ku@users.noreply.github.com> Date: Wed, 30 May 2018 21:00:54 +0800 Subject: [PATCH] FIX: update poll-builder to new modal design --- .../stylesheets/common/poll-ui-builder.scss | 36 ++++++++++++++----- 1 file changed, 27 insertions(+), 9 deletions(-) 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-options-min, .poll-options-max, .poll-options-step { - width: 70px !important; + .poll-textarea textarea { + width: 100%; + height: 90px; + box-sizing: border-box; + } + + .poll-select + .poll-textarea { + margin-top: 12px; + } + + .poll-checkbox { + margin-top: 4px; } }