Use the alternative nowrap helper for options alignment

This commit is contained in:
2022-08-03 07:20:30 +01:00
parent 8d7a1d2f59
commit 6eea7f1965
3 changed files with 66 additions and 50 deletions

View File

@@ -38,17 +38,16 @@
</div>
</div>
<div class="column is-3">
<div style="overflow: hidden;">
<div
_="on click toggle .is-hidden on #options"
class="button is-light has-text-link is-right"
style="float: left;">
Options
</div>
<div>
<span id="spinner" class="button is-light has-text-link is-loading htmx-indicator">Static</span>
</div>
<div class="nowrap-parent">
<div
_="on click toggle .is-hidden on #options"
class="button is-light has-text-link is-right nowrap-child">
Options
</div>
<div class="nowrap-child">
<span id="spinner" class="button is-light has-text-link is-loading htmx-indicator">Static</span>
</div>
</div>
</div>
</div>
@@ -132,7 +131,7 @@
<label class="checkbox">
<input type="checkbox" name="check-sentiment"
_="on click toggle @disabled on #sliderWithValue then toggle @disabled on #sentiment">
Check sentiment
Check sentiment
</label>
</div>
</div>