Fix changes list misaligned arrow
authorpetarpetkovic <ppetkovic@wikimedia.org>
Thu, 19 Oct 2017 20:54:45 +0000 (22:54 +0200)
committerpetarpetkovic <ppetkovic@wikimedia.org>
Thu, 19 Oct 2017 20:54:45 +0000 (22:54 +0200)
- Revert td alignment from middle to top.
- Add top padding to fix misalignment.

Bug: T178595
Change-Id: I1211b7afe1c29b0a33c051c07921eed7eb9704e3

resources/src/mediawiki.rcfilters/styles/mw.rcfilters.ui.ChangesListWrapperWidget.less
resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css

index 8f3bacf..0fa3137 100644 (file)
 
        // Correction for Enhanced RC
        // This is outside the scope of the 'highlights' wrapper
-       table.mw-enhanced-rc td {
-               vertical-align: middle;
-
-               &:last-child {
+       table.mw-enhanced-rc {
+               td:last-child {
                        width: 100%;
                }
        }
index d6b06e6..cb11332 100644 (file)
@@ -48,6 +48,10 @@ table.mw-enhanced-rc td.mw-enhanced-rc-nested {
        display: none;
 }
 
+.mw-enhancedchanges-arrow {
+       padding-top: 2px;
+}
+
 .mw-enhancedchanges-arrow-space {
        display: inline-block;
        *display: inline; /* IE7 and below */