libs/web: prevent break between action buttons in tblsection template
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 20 Dec 2011 03:57:40 +0000 (03:57 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 20 Dec 2011 03:57:40 +0000 (03:57 +0000)
libs/web/luasrc/view/cbi/tblsection.htm

index 1a2d689a7ea9222a35f0209abf4dcf725ea85aa4..5f6381f058def5c78ac0d713e79b3c22ec1c814c 100644 (file)
@@ -85,14 +85,14 @@ end
                                -%>
 
                                <%- if self.sortable then -%>
-                                       <td class="cbi-section-table-cell" style="width:50px">
+                                       <td class="cbi-section-table-cell" style="padding:3px; white-space:nowrap">
                                                <a href="#" onclick="return cbi_row_swap(this, true,  'cbi.sts.<%=self.config%>.<%=self.sectiontype%>')" title="<%:Move up%>"><img src="<%=resource%>/cbi/up.gif" alt="<%:Move up%>" /></a>
                                                <a href="#" onclick="return cbi_row_swap(this, false, 'cbi.sts.<%=self.config%>.<%=self.sectiontype%>')" title="<%:Move down%>"><img src="<%=resource%>/cbi/down.gif" alt="<%:Move down%>" /></a>
                                        </td>
                                <%- end -%>
 
                                <%- if self.extedit or self.addremove then -%>
-                                       <td class="cbi-section-table-cell" style="width:50px">
+                                       <td class="cbi-section-table-cell" style="padding:3px; white-space:nowrap">
                                                <%- if self.extedit then -%>
                                                        <a href="
                                                        <%- if type(self.extedit) == "string" then -%>