Skip to content

Commit

Permalink
fix(spacing): ensure hidden popover content doesn't occupy any space
Browse files Browse the repository at this point in the history
  • Loading branch information
jyounce committed Apr 20, 2018
1 parent f8cf5f4 commit f7d5fab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/client/styles/main/popover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
transition: opacity .15s linear;

&.hidden {
width: 0;
height: 0;
opacity: 0;
overflow: hidden;
visibility: hidden;
transition: visibility 0s linear .15s, opacity .15s linear;
}
Expand Down

0 comments on commit f7d5fab

Please sign in to comment.