From 701b4f06abd39df0523431ec418e88547eb38707 Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Fri, 31 Aug 2018 09:37:41 -0400 Subject: [PATCH] fix hide/unhide mixins --- styles/core/_util.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/styles/core/_util.scss b/styles/core/_util.scss index c041db1e..d67e06da 100644 --- a/styles/core/_util.scss +++ b/styles/core/_util.scss @@ -5,6 +5,7 @@ @mixin hide { border: 0; clip: rect(0 0 0 0); + clip-path: inset(100%); height: 1px; margin: -1px; overflow: hidden; @@ -18,14 +19,13 @@ } @mixin unhide { - border: unset; - clip: unset; - height: unset; - margin: unset; - overflow: unset; - padding: unset; - position: unset; - width: unset; + clip: auto; + clip-path: none; + height: auto; + overflow: visible; + position: static; + white-space: inherit; + width: auto; } @mixin line-max {