Skip to content

Commit

Permalink
Fix collapse button in app navigation in IE11
Browse files Browse the repository at this point in the history
Although the collapse button has an absolute position Internet Explorer
11 needs the left position of that button to be explicitly set to 0
(other browsers do it implicitly due to the absolute position);
otherwise the button appears to the right of the link (and behind the
app content).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
  • Loading branch information
danxuliu committed May 6, 2019
1 parent 0877a2e commit de84e03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/css/apps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,10 @@ kbd {
height: 44px;
margin: 0;
z-index: 110;

/* Needed for IE11; otherwise the button appears to the right of the
* link. */
left: 0;
}
&:before {
position: absolute;
Expand Down

0 comments on commit de84e03

Please sign in to comment.