aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator
diff options
context:
space:
mode:
authorcd012012-12-28 22:45:08 +0900
committercd012012-12-28 22:45:08 +0900
commit6ef6dfb1680cea90b94cfdf6aa3a2a633ac5bfc3 (patch)
tree6ae344998d201c8c1dae31f1db8125373afe0ed3 /twittperator
parent545d9a58637cde8805224854bd0f546ecb79c7be (diff)
downloadvimperator-plugins-6ef6dfb1680cea90b94cfdf6aa3a2a633ac5bfc3.tar.bz2
Fix tweet width in twsidebar
Diffstat (limited to 'twittperator')
-rw-r--r--twittperator/twsidebar.tw10
1 files changed, 5 insertions, 5 deletions
diff --git a/twittperator/twsidebar.tw b/twittperator/twsidebar.tw
index f0c0cba..b8a2a84 100644
--- a/twittperator/twsidebar.tw
+++ b/twittperator/twsidebar.tw
@@ -136,17 +136,17 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () {
"width: " + px(sbWidth - 100) + ' !important'
].join(';')}
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
- <hbox>
- <vbox>
+ <hbox flex="1">
+ <vbox width="48">
<image src={t.img} height="48" width="48" />
</vbox>
- <vbox style={"width: " + (sbWidth - 48 - 35) + "px !important"}>
- <hbox>
+ <vbox flex="1">
+ <hbox flex="1">
<label class={nameClass} style="font-weight: bold">{escapeBreakers(t.name)}</label>
<spacer flex="1"/>
<label>{t.sub || ''}</label>
</hbox>
- <description width="100%">{escapeBreakers(t.text)}</description>
+ <description flex="1" style="word-break:break-all;">{escapeBreakers(t.text)}</description>
</vbox>
</hbox>
</richlistitem>;