summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/cbi/luasrc/view/cbi/tblsection.htm2
-rw-r--r--themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css18
2 files changed, 10 insertions, 10 deletions
diff --git a/libs/cbi/luasrc/view/cbi/tblsection.htm b/libs/cbi/luasrc/view/cbi/tblsection.htm
index af62c53ba..898645a72 100644
--- a/libs/cbi/luasrc/view/cbi/tblsection.htm
+++ b/libs/cbi/luasrc/view/cbi/tblsection.htm
@@ -108,7 +108,7 @@ end
<%- if self.addremove then -%>
<% if self.template_addremove then include(self.template_addremove) else -%>
- <div class="cbi-section-create">
+ <div class="cbi-section-create cbi-tblsection-create">
<% if self.anonymous then %>
<input class="cbi-button cbi-button-add" type="submit" value="<%:cbi_add%>" name="cbi.cts.<%=self.config%>.<%=self.sectiontype%>" title="<%:cbi_add%>" />
<% else %>
diff --git a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
index 7457977c0..d83733ff3 100644
--- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
+++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
@@ -630,6 +630,15 @@ div.cbi-value-description {
div.cbi-section-create {
clear: left;
white-space: nowrap;
+ vertical-align: top;
+}
+
+div.cbi-tblsection-create {
+ border-bottom: 1px dotted #bbbbbb;
+}
+
+div.cbi-section-create .cbi-button {
+ margin: 0.25em;
}
input.cbi-section-create-name {
@@ -687,15 +696,6 @@ td.cbi-section-table-optionals {
padding-top: 1em;
}
-div.cbi-section-create {
- border-bottom: 1px dotted #bbbbbb;
- vertical-align: top;
-}
-
-div.cbi-section-create .cbi-button {
- margin: 0.25em;
-}
-
.cbi-value-helpicon img {
vertical-align: bottom;
}