UltrasonicNXT has submitted this change and it was merged.

Change subject: Word break in very long usernames in the sidebar
......................................................................


Word break in very long usernames in the sidebar

Change-Id: I8785765376758eed989e396f3c7626c073cf52e4
---
M MediaWikiChat.hooks.php
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  UltrasonicNXT: Verified; Looks good to me, approved



diff --git a/MediaWikiChat.hooks.php b/MediaWikiChat.hooks.php
index 52abb96..7e1cf14 100644
--- a/MediaWikiChat.hooks.php
+++ b/MediaWikiChat.hooks.php
@@ -88,7 +88,8 @@
                                        $style = "display: block;
                                                background-position: right 1em 
center;
                                                background-repeat: no-repeat;
-                                               background-image: 
url($avatar);";
+                                               background-image: url($avatar);
+                                               word-wrap: break-word;";
                                        if ( $away > 120000 ) {
                                                $style .= "-webkit-filter: 
grayscale(1); /* old webkit */
                                                        -webkit-filter: 
grayscale(100%); /* new webkit */

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8785765376758eed989e396f3c7626c073cf52e4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MediaWikiChat
Gerrit-Branch: master
Gerrit-Owner: UltrasonicNXT <[email protected]>
Gerrit-Reviewer: UltrasonicNXT <[email protected]>

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

Reply via email to