Show pen icon if channel has a pending message, unless it's the active channel
This commit is contained in:
parent
bbbaf128bb
commit
eb0094618e
@ -8,6 +8,7 @@
|
||||
channel.type,
|
||||
{active: activeChannel && channel === activeChannel.channel},
|
||||
{'parted-channel': channel.type === 'channel' && channel.state === 0},
|
||||
{'has-draft': channel.pendingMessage},
|
||||
]"
|
||||
:aria-label="getAriaLabel()"
|
||||
:title="getAriaLabel()"
|
||||
|
@ -324,6 +324,8 @@ kbd {
|
||||
|
||||
#sidebar .chan.special::before { content: "\f03a"; /* http://fontawesome.io/icon/list/ */ }
|
||||
|
||||
#sidebar .chan.has-draft:not(.active):not(.lobby)::before { content: "\f304"; /* https://fontawesome.com/icons/pen?style=solid */ }
|
||||
|
||||
#footer .connect::before { content: "\f067"; /* http://fontawesome.io/icon/plus/ */ }
|
||||
#footer .settings::before { content: "\f013"; /* http://fontawesome.io/icon/cog/ */ }
|
||||
#footer .help::before { content: "\f059"; /* http://fontawesome.io/icon/question/ */ }
|
||||
|
Loading…
Reference in New Issue
Block a user