Esanders has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/342871 )
Change subject: Fix position of ace tooltip
......................................................................
Fix position of ace tooltip
The floating tooltip breaks inside OOUI dialogs. In the absence
of an upstream fix, just anchor it to the bottom of the textbox.
Bug: T160245
Change-Id: I9055c4e4947f5581605bd490f076415c1edaf8ec
---
M modules/ve-mw/ui/styles/widgets/ve.ui.MWAceEditorWidget.css
1 file changed, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor
refs/changes/71/342871/1
diff --git a/modules/ve-mw/ui/styles/widgets/ve.ui.MWAceEditorWidget.css
b/modules/ve-mw/ui/styles/widgets/ve.ui.MWAceEditorWidget.css
index d41d8c8..db4046a 100644
--- a/modules/ve-mw/ui/styles/widgets/ve.ui.MWAceEditorWidget.css
+++ b/modules/ve-mw/ui/styles/widgets/ve.ui.MWAceEditorWidget.css
@@ -12,6 +12,17 @@
font-family: monospace, 'Courier';
font-size: inherit;
line-height: 1.5;
+ /* Allow tooptip outside of editor */
+ overflow: visible;
+}
+
+.ve-ui-mwAceEditorWidget .ace_tooltip {
+ /* Make tooltip into status bar as position is broken in Ace */
+ top: auto !important;
+ bottom: -23px !important;
+ left: 0 !important;
+ white-space: pre-wrap;
+ position: absolute;
}
.ve-ui-mwAceEditorWidget .ace_focus {
--
To view, visit https://gerrit.wikimedia.org/r/342871
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9055c4e4947f5581605bd490f076415c1edaf8ec
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits