From: lucperkins Date: Thu, 14 Mar 2019 18:31:12 +0000 (-0700) Subject: Add is-relative helper plus docs X-Git-Tag: 0.7.5~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff827999e01b087ddf43e6deade00bfff9928136;p=thirdparty%2Fbulma.git Add is-relative helper plus docs --- diff --git a/docs/documentation/modifiers/helpers.html b/docs/documentation/modifiers/helpers.html index c29d333ff..e9a6aa1da 100644 --- a/docs/documentation/modifiers/helpers.html +++ b/docs/documentation/modifiers/helpers.html @@ -63,5 +63,9 @@ breadcrumb: is-sr-only Hide elements visually but keep the element available to be announced by a screen reader + + is-relative + Applies position: relative to the element. + diff --git a/sass/base/helpers.sass b/sass/base/helpers.sass index 17fdf15ac..a28449bc9 100644 --- a/sass/base/helpers.sass +++ b/sass/base/helpers.sass @@ -274,3 +274,6 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex' .is-unselectable @extend %unselectable + +.is-relative + position: relative