mirror of
https://github.com/jgthms/bulma
synced 2026-03-18 11:24:29 -07:00
Fix #702
This commit is contained in:
@@ -476,11 +476,44 @@ doc-subtab: form
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% capture select_icons_example %}
|
||||
<div class="field">
|
||||
<p class="control has-icons-left">
|
||||
<span class="select">
|
||||
<select>
|
||||
<option selected>Country</option>
|
||||
<option>Select dropdown</option>
|
||||
<option>With options</option>
|
||||
</select>
|
||||
</span>
|
||||
<span class="icon is-small is-left">
|
||||
<i class="fa fa-globe"></i>
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
{% endcapture %}
|
||||
<div class="columns">
|
||||
<div class="column is-half">
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
<span class="tag is-success">New!</span>
|
||||
<span class="tag is-info">0.4.2</span>
|
||||
</p>
|
||||
<p>
|
||||
You can now append icons to <strong>select dropdowns</strong> as well.
|
||||
</p>
|
||||
</div>
|
||||
{{select_icons_example}}
|
||||
</div>
|
||||
<div class="column is-half">
|
||||
{% highlight html %}
|
||||
{{select_icons_example}}
|
||||
{% endhighlight %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<p>
|
||||
If the control contains an icon, Bulma will make sure the icon remains <strong>centered</strong>, no matter the size of the input <em>or</em> of the icon.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user