mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Fix #512
This commit is contained in:
parent
ca20384d9e
commit
410fd187be
@ -15,6 +15,7 @@
|
|||||||
* Fix #484 icon alignment
|
* Fix #484 icon alignment
|
||||||
* Fix #506 bold nav menu
|
* Fix #506 bold nav menu
|
||||||
* Fix #581 nav container
|
* Fix #581 nav container
|
||||||
|
* Fix #512 nav grouped buttons
|
||||||
|
|
||||||
## 0.4.0
|
## 0.4.0
|
||||||
|
|
||||||
|
@ -39,8 +39,9 @@
|
|||||||
Blog
|
Blog
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
{% if page.route != 'nothing' %}
|
<div class="nav-item">
|
||||||
<span class="nav-item">
|
<div class="field is-grouped">
|
||||||
|
<p class="control">
|
||||||
<a id="twitter"
|
<a id="twitter"
|
||||||
class="button"
|
class="button"
|
||||||
data-social-network="Twitter"
|
data-social-network="Twitter"
|
||||||
@ -53,32 +54,16 @@
|
|||||||
</span>
|
</span>
|
||||||
<span>Tweet</span>
|
<span>Tweet</span>
|
||||||
</a>
|
</a>
|
||||||
|
</p>
|
||||||
|
<p class="control">
|
||||||
<a class="button is-primary" href="{{ site.download }}">
|
<a class="button is-primary" href="{{ site.download }}">
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<i class="fa fa-download"></i>
|
<i class="fa fa-download"></i>
|
||||||
</span>
|
</span>
|
||||||
<span>Download</span>
|
<span>Download</span>
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</p>
|
||||||
{% else %}
|
</div>
|
||||||
<span class="nav-item">
|
</div>
|
||||||
<a class="button is-primary is-inverted is-outlined"
|
|
||||||
data-social-network="Twitter"
|
|
||||||
data-social-action="tweet"
|
|
||||||
data-social-target="http://bulma.io/"
|
|
||||||
href="https://twitter.com/intent/tweet?text={{ 'Bulma: a modern CSS framework based on Flebox' | urlencode }}&url=http://bulma.io/&via=jgthms">
|
|
||||||
<span class="icon">
|
|
||||||
<i class="fa fa-twitter"></i>
|
|
||||||
</span>
|
|
||||||
<span>Tweet</span>
|
|
||||||
</a>
|
|
||||||
<a class="button is-primary is-inverted" href="{{ site.download }}">
|
|
||||||
<span class="icon">
|
|
||||||
<i class="fa fa-download"></i>
|
|
||||||
</span>
|
|
||||||
<span>Download</span>
|
|
||||||
</a>
|
|
||||||
</span>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -4174,10 +4174,6 @@ input[type="submit"].button {
|
|||||||
max-height: 1.75rem;
|
max-height: 1.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-item .button + .button {
|
|
||||||
margin-left: 0.75rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-item .tag:first-child:not(:last-child) {
|
.nav-item .tag:first-child:not(:last-child) {
|
||||||
margin-right: 0.5rem;
|
margin-right: 0.5rem;
|
||||||
}
|
}
|
||||||
|
@ -22,8 +22,6 @@ $nav-height: 3.25rem !default
|
|||||||
flex-shrink: 0
|
flex-shrink: 0
|
||||||
img
|
img
|
||||||
max-height: 1.75rem
|
max-height: 1.75rem
|
||||||
.button + .button
|
|
||||||
margin-left: 0.75rem
|
|
||||||
.tag
|
.tag
|
||||||
&:first-child:not(:last-child)
|
&:first-child:not(:last-child)
|
||||||
margin-right: 0.5rem
|
margin-right: 0.5rem
|
||||||
|
Loading…
Reference in New Issue
Block a user