From ed768620a3fcf214b595077cf67c16ee0f47ee5f 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 c29d333ff5..e9a6aa1dac 100644 --- a/docs/documentation/modifiers/helpers.html +++ b/docs/documentation/modifiers/helpers.html @@ -63,5 +63,9 @@ 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 17fdf15acc..a28449bc9b 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