Merge pull request #235 from dod-ccpo/ie/navigation-collapsing

fix hide/unhide mixins
This commit is contained in:
andrewdds 2018-08-31 13:56:27 -04:00 committed by GitHub
commit 801b0234ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {