Fixing display issue with interwiki search sidebar
authorJan Drewniak <jan.drewniak@gmail.com>
Wed, 7 Jun 2017 15:28:54 +0000 (17:28 +0200)
committerJan Drewniak <jan.drewniak@gmail.com>
Wed, 7 Jun 2017 15:28:54 +0000 (17:28 +0200)
Bug: T167301
Change-Id: I9a24eca4df79b8d9e1ae3c440be2124724148c20

resources/src/mediawiki.special/mediawiki.special.search.interwikiwidget.styles.less

index 92e3e1c..992ce99 100644 (file)
                #mw-interwiki-results {
                        width: 30%;
                        display: inline-block; /* used to align interwiki sidebar with the top of the main search results */
-                       margin-left: 10%;
+                       margin-left: 8%; /* since inline-block causes whitespace issues, this is 8 instead of 10% */
                }
                .mw-search-createlink,
                .mw-search-nonefound,