mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Add .has-text-justified support (#1180)
This commit is contained in:
committed by
Jeremy Thomas
parent
25814e6122
commit
0f94e971d8
@@ -250,6 +250,10 @@ doc-subtab: typography-helpers
|
||||
<td>Makes the text <strong>centered</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.has-text-justified</code></td>
|
||||
<td>Makes the text <strong>justified</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>.has-text-left</code></td>
|
||||
<td>Makes the text aligned to the <strong>left</strong></td>
|
||||
</tr>
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
+fullhd
|
||||
+typography-size('fullhd')
|
||||
|
||||
$alignments: ('centered': 'center', 'left': 'left', 'right': 'right')
|
||||
$alignments: ('centered': 'center', 'justified': 'justify', 'left': 'left', 'right': 'right')
|
||||
|
||||
@each $alignment, $text-align in $alignments
|
||||
.has-text-#{$alignment}
|
||||
|
||||
Reference in New Issue
Block a user