Fix collapse button in app navigation in IE11

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>
This commit is contained in:
Daniel Calviño Sánchez 2019-05-06 09:14:29 +02:00 committed by Backportbot
parent 473d9a9a08
commit fcca3778ad
1 changed files with 4 additions and 0 deletions

View File

@ -358,6 +358,10 @@ kbd {
height: 44px; height: 44px;
margin: 0; margin: 0;
z-index: 110; z-index: 110;
/* Needed for IE11; otherwise the button appears to the right of the
* link. */
left: 0;
} }
&:before { &:before {
position: absolute; position: absolute;