mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-06-17 23:51:39 +03:00
Tweak channel list style and layout in renderer
This commit is contained in:
parent
218c28f30e
commit
4dda9a6167
@ -5,8 +5,8 @@ var DISCORD = (function(){
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
setup: function(){
|
setup: function(){
|
||||||
templateChannelServer = new TEMPLATE("<div data-channel='{id}'><strong class='name'>{name}</strong> <span class='msgcount'>({msgcount})</span><br><span class='server'>{server.name}</span> <span class='type'>({server.type})</span></div>");
|
templateChannelServer = new TEMPLATE("<div data-channel='{id}'><strong class='name'>{name}</strong> <span class='msgcount'>({msgcount})</span><br><span class='server'>{server.name} ({server.type})</span></div>");
|
||||||
templateChannelPrivate = new TEMPLATE("<div data-channel='{id}'><strong class='name'>{name}</strong> <span class='msgcount'>({msgcount})</span><br><span class='type'>({server.type})</span></div>");
|
templateChannelPrivate = new TEMPLATE("<div data-channel='{id}'><strong class='name'>{name}</strong> <span class='msgcount'>({msgcount})</span><br><span class='server'>({server.type})</span></div>");
|
||||||
templateMessage = new TEMPLATE("<div><h2><strong class='username'>{user.name}</strong><span class='time'>{timestamp}</span></h2><div class='message'>{contents}</div></div>");
|
templateMessage = new TEMPLATE("<div><h2><strong class='username'>{user.name}</strong><span class='time'>{timestamp}</span></h2><div class='message'>{contents}</div></div>");
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -50,7 +50,11 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#channels br {
|
#channels br {
|
||||||
margin-bottom: 4px;
|
margin-bottom: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#channels .server {
|
||||||
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#messages {
|
#messages {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user