]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Add `.has-text-justified` support (#1180)
authorHana Shiro <shirohana0608@gmail.com>
Wed, 13 Sep 2017 07:00:37 +0000 (15:00 +0800)
committerJeremy Thomas <bbxdesign@gmail.com>
Wed, 13 Sep 2017 07:00:37 +0000 (08:00 +0100)
docs/documentation/modifiers/typography-helpers.html
sass/base/helpers.sass

index 55ad69a754874b00e5384a0c8b3ebdfbe8ac0e15..c477ebd3e9410f4ef6873b5e73e7d660002e669a 100644 (file)
@@ -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>
index 839691f3ba2208ee0c44cc9f0f096d3fc965a2b1..dcfe1e9cf97d3421044dcf984084c16c474f8c63 100644 (file)
@@ -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}