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

Change subject: Limit the height of context items
......................................................................


Limit the height of context items

Some of them might be really big, this makes them automatically stop
at 15em and scroll from there on out.

Bug: T91337
Change-Id: I8757b3d000d12362d6e69071120fc72a028a9ab8
---
M src/ui/styles/ve.ui.ContextItem.css
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Jforrester: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/src/ui/styles/ve.ui.ContextItem.css 
b/src/ui/styles/ve.ui.ContextItem.css
index 4e8a1d3..3fee4b7 100644
--- a/src/ui/styles/ve.ui.ContextItem.css
+++ b/src/ui/styles/ve.ui.ContextItem.css
@@ -77,6 +77,8 @@
 
 .ve-ui-contextItem-body {
        padding: 0 1em 0.5em 1em;
+       max-height: 15em;
+       overflow: auto;
 }
 
 .ve-ui-contextItem + .ve-ui-contextItem {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8757b3d000d12362d6e69071120fc72a028a9ab8
Gerrit-PatchSet: 3
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Trevor Parscal <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to