This commit is contained in:
Jeremy Thomas 2017-09-18 23:36:41 +01:00
parent 63bac2c775
commit 2315388413
5 changed files with 21 additions and 1 deletions

View file

@ -4,6 +4,7 @@
### New features
* #1101 `.card-header-title` can be centered with `.is-centered`
* #1189 `.input` readonly and `.is-static`
* #1189 `.textarea` readonly

View file

@ -5089,6 +5089,12 @@ a.tag:hover {
padding: 0.75rem;
}
.card-header-title.is-centered {
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.card-header-icon {
-webkit-box-align: center;
-ms-flex-align: center;

File diff suppressed because one or more lines are too long

View file

@ -154,6 +154,17 @@ variables:
</ul>
</div>
<div class="tags has-addons">
<span class="tag">New</span>
<span class="tag is-info">0.5.3</span>
</div>
<div class="content">
<p>
You can center the <code>card-header-title</code> by appending the <code>is-centered</code> modifier.
</p>
</div>
<hr>
<div class="columns">

View file

@ -27,6 +27,8 @@ $card-footer-border-top: 1px solid $border !default
flex-grow: 1
font-weight: $card-header-weight
padding: 0.75rem
&.is-centered
justify-content: center
.card-header-icon
align-items: center