UltrasonicNXT has uploaded a new change for review.
https://gerrit.wikimedia.org/r/110701
Change subject: Fix problem with columnn widths
......................................................................
Fix problem with columnn widths
If the first message you recieve in a chat window is a join/leave/other
sytem message, the column widths will be distorted. Adding a blank normal
message, that won't be seen, fixes.
Change-Id: I1fc8da472b172dd4a3f3cd38c10a97e8c94cd768
---
M SpecialChat.template.php
1 file changed, 7 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MediaWikiChat
refs/changes/01/110701/1
diff --git a/SpecialChat.template.php b/SpecialChat.template.php
index ab541f6..1c8b6a6 100644
--- a/SpecialChat.template.php
+++ b/SpecialChat.template.php
@@ -20,7 +20,13 @@
<div id="mwchat-container">
<div id="mwchat-main">
<div id="mwchat-content">
- <table id="mwchat-table"></table>
+ <table id="mwchat-table">
+ <tr class="mwchat-message">
<?php //ensures columns are appropriately wide ?>
+ <td
class="mwchat-item-user"></td>
+ <td
class="mwchat-item-avatar"></td>
+ <td
class="mwchat-item-messagecell"></td>
+ </tr>
+ </table>
</div>
<div id="mwchat-type">
<input type="text" placeholder="<?php
echo wfMessage( 'chat-type-your-message' )->plain() ?>" />
--
To view, visit https://gerrit.wikimedia.org/r/110701
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1fc8da472b172dd4a3f3cd38c10a97e8c94cd768
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MediaWikiChat
Gerrit-Branch: master
Gerrit-Owner: UltrasonicNXT <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits