From c0f9269512062f7784edc72c7ae37155929c3533 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Tue, 3 Oct 2023 16:54:18 +0100 Subject: [PATCH] Use white-space:break-spaces where appropriate Bug: T348006 Change-Id: Iac89f5c70ed6717a8ec662e85e68d9ccf9b7e5ad --- modules/ve-math/ve.ui.MWLatexContextItem.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/ve-math/ve.ui.MWLatexContextItem.css b/modules/ve-math/ve.ui.MWLatexContextItem.css index 57a987b15..745ee7acf 100644 --- a/modules/ve-math/ve.ui.MWLatexContextItem.css +++ b/modules/ve-math/ve.ui.MWLatexContextItem.css @@ -7,7 +7,11 @@ .ve-ui-mwLatexContextItem .ve-ui-linearContextItem-body { /* Specify a valid second value to fix size in Chrome/FF */ - font-family: monospace, 'Courier'; + font-family: monospace, monospace; + /* Support: Chrome<76, Firefox<69 */ + /* Fallback for browsers which don't support break-spaces */ white-space: pre-wrap; + /* T348006 */ + white-space: break-spaces; max-height: 10em; }