Spage has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/60785


Change subject: Show newlines and whitespace in schema values.
......................................................................

Show newlines and whitespace in schema values.

Add white-space: pre-wrap to the CSS for schema values so that
'\n' (the two characters) and whitespace display.

Bug: 47592
Change-Id: I7ea132aeeffac5497fa590e1a71da3cb89b6e39f
---
M modules/ext.eventLogging.jsonSchema.css
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/EventLogging 
refs/changes/85/60785/1

diff --git a/modules/ext.eventLogging.jsonSchema.css 
b/modules/ext.eventLogging.jsonSchema.css
index 092301b..5837e87 100644
--- a/modules/ext.eventLogging.jsonSchema.css
+++ b/modules/ext.eventLogging.jsonSchema.css
@@ -28,6 +28,7 @@
 .mw-json-schema .value {
        background-color: #dcfae3;
        font-family: 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, 
Courier, monospace;
+       white-space: pre-wrap;
 }
 
 .mw-json-schema tr {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7ea132aeeffac5497fa590e1a71da3cb89b6e39f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/EventLogging
Gerrit-Branch: master
Gerrit-Owner: Spage <[email protected]>

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

Reply via email to