mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fix bold font weight of usernames in the chat stream
This commit is contained in:
parent
8b0e53d559
commit
c7cd385a14
@ -187,7 +187,7 @@
|
|||||||
|
|
||||||
.timsChatUsernameContainer {
|
.timsChatUsernameContainer {
|
||||||
// sender username
|
// sender username
|
||||||
> span:first-child {
|
> span:not(.icon):not(.receiver) {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
{if $message.type == $messageTypes.WHISPER}
|
{if $message.type == $messageTypes.WHISPER}
|
||||||
<span class="icon icon16 icon-double-angle-right jsTooltip pointer" title="{/literal}{lang}chat.global.whispers{/lang}{literal}" onclick="be.bastelstu.Chat.insertText('/whisper {if $message.receiver == WCF.User.userID}{$message.username.replace("\\", "\\\\").replace("'", "\\'")}{else}{$message.additionalData.receiverUsername.replace("\\", "\\\\").replace("'", "\\'")}{/if}, ', { append: false });"></span>
|
<span class="icon icon16 icon-double-angle-right jsTooltip pointer" title="{/literal}{lang}chat.global.whispers{/lang}{literal}" onclick="be.bastelstu.Chat.insertText('/whisper {if $message.receiver == WCF.User.userID}{$message.username.replace("\\", "\\\\").replace("'", "\\'")}{else}{$message.additionalData.receiverUsername.replace("\\", "\\\\").replace("'", "\\'")}{/if}, ', { append: false });"></span>
|
||||||
<span class="reciever">{$message.additionalData.receiverUsername}</span>
|
<span class="receiver">{$message.additionalData.receiverUsername}</span>
|
||||||
{/if}
|
{/if}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user