Merge "Chinese Conversion Table Update 2017-6"
[lhc/web/wiklou.git] / resources / src / mediawiki.special / mediawiki.special.changeslist.css
index 734666f..44adbf3 100644 (file)
        display: none;
 }
 
+.mw-changeslist-legend.mw-collapsed {
+       margin: 0;
+}
+
 /* Prevent pushing down of content if legend is initially collapsed */
-.mw-changeslist-legend.mw-collapsed ~ ul.special > li:first-child {
+.mw-changeslist-legend.mw-collapsed ~ ul:first-of-type > li:first-child {
        clear: right;
 }
 
 /* Absolute positioning to avoid table overlap with floating elements */
-.mw-changeslist-legend.mw-enhanced {
+.mw-changeslist > .mw-changeslist-legend.mw-enhanced {
        background-color: #fff;
        position: absolute;
        right: 0;
-       margin-top: -0.5em;
 }