From ff827999e01b087ddf43e6deade00bfff9928136 Mon Sep 17 00:00:00 2001 From: lucperkins Date: Thu, 14 Mar 2019 11:31:12 -0700 Subject: [PATCH] Add is-relative helper plus docs --- docs/documentation/modifiers/helpers.html | 4 ++++ sass/base/helpers.sass | 3 +++ 2 files changed, 7 insertions(+) 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 -- 2.47.2