* luci/themes: fix help text styles in openwrt.org theme
[project/luci.git] / libs / cbi / luasrc / view / cbi / full_valuefooter.htm
index 8084cfda984e74576ff79d454011c96d8c589320..a01f6bd6c876dc1c61da29f07511fbf572a25835 100644 (file)
@@ -14,8 +14,13 @@ $Id$
 -%>
 
                <% if #self.description > 0 then -%>
-                       <span class="cbi-value-helpicon"><img src="<%=resource%>/cbi/help.gif" alt="<%:help%>" /></span>
-                       <div class="cbi-value-description"><%=self.description%></div>
+                       <% if not luci.util.instanceof( self, luci.cbi.Flag ) then -%>
+                               <br />
+                       <%- end %>
+                       <div class="cbi-value-description">
+                               <span class="cbi-value-helpicon"><img src="<%=resource%>/cbi/help.gif" alt="<%:help%>" /></span>
+                               <%=self.description%>
+                       </div>
                <%- end %>
        <%- if self.title and #self.title > 0 then -%>
        </div>