Restyle expandable blocks

This commit is contained in:
Toks
2013-12-23 13:22:25 -05:00
parent 9057d708ff
commit 52fd58087d
3 changed files with 12 additions and 16 deletions

View File

@@ -214,7 +214,7 @@ class DText
stack << "expandable"
expand_html = '<div class="expandable"><div class="expandable-header">'
expand_html << "<span>#{h($1)}</span>" if $1.present?
expand_html << '<div class="expandable-button">Show</div></div>'
expand_html << '<input type="button" value="Show" class="expandable-button"/></div>'
expand_html << '<div class="expandable-content">'
expand_html