fix hide/unhide mixins

This commit is contained in:
Andrew Croce 2018-08-31 09:37:41 -04:00
parent 687ae30268
commit 701b4f06ab

View File

@ -5,6 +5,7 @@
@mixin hide { @mixin hide {
border: 0; border: 0;
clip: rect(0 0 0 0); clip: rect(0 0 0 0);
clip-path: inset(100%);
height: 1px; height: 1px;
margin: -1px; margin: -1px;
overflow: hidden; overflow: hidden;
@ -18,14 +19,13 @@
} }
@mixin unhide { @mixin unhide {
border: unset; clip: auto;
clip: unset; clip-path: none;
height: unset; height: auto;
margin: unset; overflow: visible;
overflow: unset; position: static;
padding: unset; white-space: inherit;
position: unset; width: auto;
width: unset;
} }
@mixin line-max { @mixin line-max {