lib/templates/applet/index.html.erb in ruby-processing-1.0.4 vs lib/templates/applet/index.html.erb in ruby-processing-1.0.5
- old
+ new
@@ -40,10 +40,10 @@
margin-top: 30px;
padding: 0;
}
#description {
font-size: 12px;
- width: <%= @width - 16 %>px;
+ width: <%= @width - 16 if @width %>px;
padding: 7px 15px 7px 15px;
background: #111;
text-align: justify;
margin: 0 auto;
margin-top: 30px; margin-bottom: 10px;
\ No newline at end of file