Thiemo Mättig (WMDE) has uploaded a new change for review.
https://gerrit.wikimedia.org/r/234243
Change subject: Add explicit word-wrap: break-word to textareas
......................................................................
Add explicit word-wrap: break-word to textareas
These text fields contain file names and license informations that tend
to contain very loooooooooong words. These make the field hard to use
and hard to read, especially when the browser decides to add a horizontal
scroll bar to the already pretty short text field. Some browsers do a
proper word wrap by default, others may not. I suggest to add this
explicitely.
Change-Id: I3f32270c1c0310e83288b5f4e260feb474006297
---
M resources/mmv/ui/mmv.ui.reuse.embed.less
1 file changed, 2 insertions(+), 1 deletion(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MultimediaViewer
refs/changes/43/234243/1
diff --git a/resources/mmv/ui/mmv.ui.reuse.embed.less
b/resources/mmv/ui/mmv.ui.reuse.embed.less
index 0692483..e31529e 100644
--- a/resources/mmv/ui/mmv.ui.reuse.embed.less
+++ b/resources/mmv/ui/mmv.ui.reuse.embed.less
@@ -14,9 +14,10 @@
}
// The selector has to be that deep and include [readonly] to
override OOJS UI's definition
- textarea[readonly], textarea[readonly] {
+ textarea[readonly] {
color: @textarea-text-color;
text-shadow: none;
+ word-wrap: break-word;
}
}
}
--
To view, visit https://gerrit.wikimedia.org/r/234243
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f32270c1c0310e83288b5f4e260feb474006297
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MultimediaViewer
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits