aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator/twsidebar.tw
diff options
context:
space:
mode:
authoranekos2013-01-20 00:14:36 +0900
committeranekos2013-01-20 00:14:36 +0900
commit5f9f8b699331135b9cd54c95bcb5595bfd1fc650 (patch)
tree357fa8be648f8eae42d4fa4e4adbad2055066dc9 /twittperator/twsidebar.tw
parent7c95e94a0037da2098c173bae2972ea230212cb3 (diff)
downloadvimperator-plugins-5f9f8b699331135b9cd54c95bcb5595bfd1fc650.tar.bz2
サブ表示を下にして、改行するようにした。
Diffstat (limited to 'twittperator/twsidebar.tw')
-rw-r--r--twittperator/twsidebar.tw7
1 files changed, 4 insertions, 3 deletions
diff --git a/twittperator/twsidebar.tw b/twittperator/twsidebar.tw
index fccdfa6..8a7187e 100644
--- a/twittperator/twsidebar.tw
+++ b/twittperator/twsidebar.tw
@@ -129,7 +129,7 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () {
let xml;
let sbWidth = getSidebarWindow().document.width;
let richlistitemClasses = [className('tweet-panel'), className('tweet-' + t.type)];
- let nameClass = t.protected ? className('tweet-protected') : '';
+ let nameClass = className('item-name') + ' ' + (t.protected ? className('tweet-protected') : '');
xml =
<richlistitem
id={t.id}
@@ -145,11 +145,12 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () {
</vbox>
<vbox flex="1">
<hbox flex="1">
- <label class={nameClass} style="font-weight: bold">{escapeBreakers(t.name)}</label>
+ <label class={nameClass}>{escapeBreakers(t.name)}</label>
<spacer flex="1"/>
{(Config.tweetTimeVisible && t.sub) ? t.sub : ''}
</hbox>
- <description flex="1" style="word-break:break-all;">{escapeBreakers(t.text)}</description>
+ <description flex="1" class={className('item-text')}>{escapeBreakers(t.text)}</description>
+ <description flex="1" class={className('item-sub')}>{escapeBreakers(t.sub || '')}</description>
</vbox>
</hbox>
</richlistitem>;