mirror of
https://github.com/thelounge/thelounge
synced 2024-11-10 22:54:15 +00:00
Correctly handle multiple successive whitespace characters
This commit is contained in:
parent
488dd7aeb4
commit
f0e6e397a4
2 changed files with 17 additions and 1 deletions
|
@ -2085,3 +2085,19 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
|
||||||
#image-viewer .open-btn {
|
#image-viewer .open-btn {
|
||||||
margin: 0 auto 10px;
|
margin: 0 auto 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Correctly handle multiple successive whitespace characters.
|
||||||
|
For example: user has quit ( ===> L O L <=== ) */
|
||||||
|
|
||||||
|
#windows .header .topic,
|
||||||
|
#chat .message .text,
|
||||||
|
#chat .motd .text,
|
||||||
|
#chat .notice .text,
|
||||||
|
#chat .ctcp-message,
|
||||||
|
#chat .part-reason,
|
||||||
|
#chat .quit-reason,
|
||||||
|
#chat .new-topic,
|
||||||
|
#chat .action-text,
|
||||||
|
#chat table.channel-list .topic {
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
{{> ../user_name nick=from}}
|
{{> ../user_name nick=from}}
|
||||||
<b>{{ctcpType}}</b> {{{parse ctcpMessage}}}
|
<b>{{ctcpType}}</b> <span class="ctcp-message">{{{parse ctcpMessage}}}</span>
|
||||||
|
|
Loading…
Reference in a new issue