]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix collapse button in app navigation in IE11 15384/head
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Mon, 6 May 2019 07:14:29 +0000 (09:14 +0200)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Mon, 6 May 2019 07:14:29 +0000 (09:14 +0200)
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;