UX: Display number combobox as an input group so it looks nice on mobile too.
This commit is contained in:
parent
1ca52615a6
commit
adecdbee56
|
@ -11,29 +11,36 @@
|
||||||
value=pollType
|
value=pollType
|
||||||
valueAttribute="value"
|
valueAttribute="value"
|
||||||
none="poll.ui_builder.poll_type.regular"}}
|
none="poll.ui_builder.poll_type.regular"}}
|
||||||
|
</div>
|
||||||
|
|
||||||
{{#if showMinMax}}
|
{{#if showMinMax}}
|
||||||
<label>{{i18n 'poll.ui_builder.poll_config.min'}}</label>
|
<div class="input-group">
|
||||||
|
<label class="input-group-label">{{i18n 'poll.ui_builder.poll_config.min'}}</label>
|
||||||
{{combo-box content=pollMinOptions
|
{{combo-box content=pollMinOptions
|
||||||
value=pollMin
|
value=pollMin
|
||||||
valueAttribute="value"
|
valueAttribute="value"
|
||||||
class="poll-options-min"}}
|
class="poll-options-min"}}
|
||||||
|
</div>
|
||||||
|
|
||||||
<label>{{i18n 'poll.ui_builder.poll_config.max'}}</label>
|
|
||||||
|
<div class="input-group">
|
||||||
|
<label class="input-group-label">{{i18n 'poll.ui_builder.poll_config.max'}}</label>
|
||||||
{{combo-box content=pollMaxOptions
|
{{combo-box content=pollMaxOptions
|
||||||
value=pollMax
|
value=pollMax
|
||||||
valueAttribute="value"
|
valueAttribute="value"
|
||||||
class="poll-options-max"}}
|
class="poll-options-max"}}
|
||||||
|
</div>
|
||||||
|
|
||||||
{{#if isNumber}}
|
{{#if isNumber}}
|
||||||
<label>{{i18n 'poll.ui_builder.poll_config.step'}}</label>
|
<div class="input-group">
|
||||||
|
<label class="input-group-label">{{i18n 'poll.ui_builder.poll_config.step'}}</label>
|
||||||
{{combo-box content=pollStepOptions
|
{{combo-box content=pollStepOptions
|
||||||
value=pollStep
|
value=pollStep
|
||||||
valueAttribute="value"
|
valueAttribute="value"
|
||||||
class="poll-options-step"}}
|
class="poll-options-step"}}
|
||||||
{{/if}}
|
|
||||||
{{/if}}
|
|
||||||
</div>
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<label>
|
<label>
|
||||||
|
|
Loading…
Reference in New Issue