jenkins-bot has submitted this change and it was merged.
Change subject: TableContext: Simplify row/column overlays styles
......................................................................
TableContext: Simplify row/column overlays styles
Use the same technique for rowContext as for colContext.
Change-Id: Ie00a7d0cd92fe6f1580e9edbc8536fc890c76a7a
---
M src/ui/styles/ve.ui.TableContext.css
1 file changed, 10 insertions(+), 12 deletions(-)
Approvals:
Esanders: Looks good to me, approved
jenkins-bot: Verified
diff --git a/src/ui/styles/ve.ui.TableContext.css
b/src/ui/styles/ve.ui.TableContext.css
index c4040f3..baf8461 100644
--- a/src/ui/styles/ve.ui.TableContext.css
+++ b/src/ui/styles/ve.ui.TableContext.css
@@ -24,23 +24,21 @@
.ve-ui-tableContext-colContext .ve-ui-tableContext-indicator {
width: 100%;
height: 0.8em;
- /* Context height + 0.2 gap */
+ /* Context height + 0.2em gap */
margin-top: -1em;
border-bottom: 0;
}
-.ve-ui-tableContext-rowContext {
- /* Gap + half context width (for centering the popup anchor), 0.2 +
0.8/2 */
- left: -0.6em;
-}
-
-.ve-ui-tableContext-rowContext .oo-ui-popupWidget {
- top: 0.3em;
-}
-
.ve-ui-tableContext-rowContext .ve-ui-tableContext-indicator {
width: 0.8em;
- /* Half context width (for centering the popup anchor) */
- margin-left: -0.4em;
+ /* Context width + 0.2em gap */
+ margin-left: -1em;
border-right: 0;
}
+
+/* Position the row context menu popup anchor below the center of the
indicator */
+.ve-ui-tableContext-rowContext .oo-ui-popupWidget {
+ /* Gap + half context width: 0.2em + 0.8em/2 */
+ left: -0.6em;
+ top: 0.3em;
+}
--
To view, visit https://gerrit.wikimedia.org/r/172250
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie00a7d0cd92fe6f1580e9edbc8536fc890c76a7a
Gerrit-PatchSet: 2
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Bartosz DziewoĆski <[email protected]>
Gerrit-Reviewer: Esanders <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits