From: Hana Shiro Date: Wed, 13 Sep 2017 07:00:37 +0000 (+0800) Subject: Add `.has-text-justified` support (#1180) X-Git-Tag: 0.5.3~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f94e971d8a147a434d0e0a7c61dd0c647606898;p=thirdparty%2Fbulma.git Add `.has-text-justified` support (#1180) --- diff --git a/docs/documentation/modifiers/typography-helpers.html b/docs/documentation/modifiers/typography-helpers.html index 55ad69a75..c477ebd3e 100644 --- a/docs/documentation/modifiers/typography-helpers.html +++ b/docs/documentation/modifiers/typography-helpers.html @@ -250,6 +250,10 @@ doc-subtab: typography-helpers Makes the text centered + .has-text-justified + Makes the text justified + + .has-text-left Makes the text aligned to the left diff --git a/sass/base/helpers.sass b/sass/base/helpers.sass index 839691f3b..dcfe1e9cf 100644 --- a/sass/base/helpers.sass +++ b/sass/base/helpers.sass @@ -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}