mirror of
https://github.com/jgthms/bulma
synced 2026-03-20 12:24:28 -07:00
Fix #458
This commit is contained in:
@@ -646,6 +646,42 @@ doc-subtab: form
|
||||
{% highlight html %}
|
||||
{{addons_expanded_example}}
|
||||
{% endhighlight %}
|
||||
|
||||
<div class="content">
|
||||
<p>If you want a full width select dropdown, pair <code>control is-expanded</code> with <code>select is-fullwidth</code>.</p>
|
||||
</div>
|
||||
{% capture addons_expanded_fullwidth_example %}
|
||||
<div class="field has-addons">
|
||||
<p class="control is-expanded">
|
||||
<span class="select is-fullwidth">
|
||||
<select name="country">
|
||||
<option value="Argentina">Argentina</option>
|
||||
<option value="Bolivia">Bolivia</option>
|
||||
<option value="Brazil">Brazil</option>
|
||||
<option value="Chile">Chile</option>
|
||||
<option value="Colombia">Colombia</option>
|
||||
<option value="Ecuador">Ecuador</option>
|
||||
<option value="Guyana">Guyana</option>
|
||||
<option value="Paraguay">Paraguay</option>
|
||||
<option value="Peru">Peru</option>
|
||||
<option value="Suriname">Suriname</option>
|
||||
<option value="Uruguay">Uruguay</option>
|
||||
<option value="Venezuela">Venezuela</option>
|
||||
</select>
|
||||
</span>
|
||||
</p>
|
||||
<p class="control">
|
||||
<button type="submit" class="button is-primary">Choose</button>
|
||||
</p>
|
||||
</div>
|
||||
{% endcapture %}
|
||||
<div class="example">
|
||||
{{addons_expanded_fullwidth_example}}
|
||||
</div>
|
||||
{% highlight html %}
|
||||
{{addons_expanded_fullwidth_example}}
|
||||
{% endhighlight %}
|
||||
|
||||
<div class="content">
|
||||
<p>Use the <code>has-addons-centered</code> or the <code>has-addons-right</code> modifers to alter the <strong>alignment</strong>.</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user