Esanders has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/325923 )

Change subject: Force word break in context preview for long links
......................................................................

Force word break in context preview for long links

Bug: T152680
Change-Id: I50c547703d86def747655567a76702e9bc6610e7
---
M modules/ve-cite/ve.ui.MWReferenceContextItem.css
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Cite 
refs/changes/23/325923/1

diff --git a/modules/ve-cite/ve.ui.MWReferenceContextItem.css 
b/modules/ve-cite/ve.ui.MWReferenceContextItem.css
index 020e46d..8845acc 100644
--- a/modules/ve-cite/ve.ui.MWReferenceContextItem.css
+++ b/modules/ve-cite/ve.ui.MWReferenceContextItem.css
@@ -10,3 +10,12 @@
        font-style: italic;
        line-height: 1.5;
 }
+
+.ve-ui-mwReferenceContextItem .ve-ui-previewElement {
+       /* Reference links can often be too long, so break them up */
+       /* stylelint-disable no-unsupported-browser-features */
+       word-break: break-word;
+       word-wrap: break-word;
+       overflow-wrap: break-word;
+       /* stylelint-enable no-unsupported-browser-features */
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I50c547703d86def747655567a76702e9bc6610e7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Cite
Gerrit-Branch: master
Gerrit-Owner: Esanders <esand...@wikimedia.org>

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

Reply via email to