]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix collapse button in app navigation in IE11 15389/head
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Mon, 6 May 2019 07:14:29 +0000 (09:14 +0200)
committerBackportbot <backportbot-noreply@rullzer.com>
Mon, 6 May 2019 12:09:27 +0000 (12:09 +0000)
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>
core/css/apps.scss

index 7a979d165859ee0c95c8c7d199882f011647a2d5..433100d042f507c6c9bf8c8e715207497208c970 100644 (file)
@@ -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;