jenkins-bot has submitted this change and it was merged.

Change subject: Fix VE toolbar styling to account for OOUI changes
......................................................................


Fix VE toolbar styling to account for OOUI changes

Bug: T98808
Change-Id: Ib4f8fd819c69328237771230b17ba978a83ef345
---
M modules/editor/editors/visualeditor/mw.flow.ve.Target.less
1 file changed, 4 insertions(+), 3 deletions(-)

Approvals:
  Pginer: Looks good to me, but someone else must approve
  Matthias Mullie: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/editor/editors/visualeditor/mw.flow.ve.Target.less 
b/modules/editor/editors/visualeditor/mw.flow.ve.Target.less
index 50fd62c..8123927 100644
--- a/modules/editor/editors/visualeditor/mw.flow.ve.Target.less
+++ b/modules/editor/editors/visualeditor/mw.flow.ve.Target.less
@@ -46,24 +46,25 @@
                // The -40 matches the padding-bottom on .ve-ce-documentNode to 
put the toolbar inside
                // the editing area. The 2px of positive margin gives room for 
the blue border of the
                // documentNode (via .mw-ui-input)
-               margin: -40px 2px 0 2px;
+               margin: -42px 2px 0 2px;
        }
 
        // Due to this being floated, it needs a matching top margin to still 
display inside the bar
        .oo-ui-toolbar-actions {
-               margin-top: 38px;
+               margin-top: 13px;
        }
 
        .oo-ui-toolbar-bar {
                // The default border is only appropriate in the default ve, 
with
                // the toolbar above the editing surface.
                border: none;
+               box-shadow: none;
                // When we apply a pending texture to the editor, we don't want 
the toolbar to display
                // in solid white on top of that.
                background: transparent;
        }
 
        .oo-ui-toolGroup {
-               margin-bottom: 2px;
+               border: none;
        }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/210302
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib4f8fd819c69328237771230b17ba978a83ef345
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Catrope <roan.katt...@gmail.com>
Gerrit-Reviewer: Matthias Mullie <mmul...@wikimedia.org>
Gerrit-Reviewer: Pginer <pgi...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to