OOjs UI: CapsuleItemWidget: Revert regression on remove button in Firefox
authorJames D. Forrester <jforrester@wikimedia.org>
Sun, 28 Feb 2016 23:59:53 +0000 (15:59 -0800)
committerJames D. Forrester <jforrester@wikimedia.org>
Mon, 29 Feb 2016 00:00:02 +0000 (16:00 -0800)
Manual application of changes from up-stream ahead of v0.16.1 release, which
will miss the -wmf.15 cut, given the severity of the issue for Firefox users
and the simplicity of the change. Fix made by VolkerE in Ieac469d.

Bug: T128074
Change-Id: If43b86e27970ae0fe75a654a63f06cc19bcac865

resources/lib/oojs-ui/oojs-ui-widgets-apex.css
resources/lib/oojs-ui/oojs-ui-widgets-mediawiki.css

index 2540191..3ba212a 100644 (file)
        border-color: #cccccc;
 }
 .oo-ui-capsuleItemWidget > .oo-ui-buttonElement {
-       float: right;
-       margin-top: -0.1em;
-       margin-right: -0.4em;
+       margin-top: -1.25em;
+       padding-left: 0.3em;
 }
 .oo-ui-searchWidget-query {
        position: absolute;
index a47e821..4855aa1 100644 (file)
        background-color: #f3f3f3;
 }
 .oo-ui-capsuleItemWidget > .oo-ui-buttonElement {
-       float: right;
-       margin-top: -0.2em;
-       margin-left: 0.4em;
+       margin-top: -1.4em;
+       padding-left: 0.3em;
 }
 .oo-ui-searchWidget-query {
        position: absolute;