From: Rosy Song Date: Wed, 24 Jul 2019 12:26:42 +0000 (+0800) Subject: luci-theme-rosy: fix #2887 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1b569350a03ada999ee23fb4d62d95bd386f0bd2;p=oweals%2Fluci.git luci-theme-rosy: fix #2887 Signed-off-by: Rosy Song --- diff --git a/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css b/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css index d6460532f..388f2a811 100644 --- a/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css +++ b/themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css @@ -1121,7 +1121,7 @@ form[method="post"] + form[method="post"], } .td.cbi-section-actions > * { - display: inline-flex; + display: block; } .td.cbi-section-actions > * > *, @@ -1533,9 +1533,6 @@ body.modal-overlay-active #modal_overlay { /* select */ .cbi-value-field .cbi-dropdown, -.cbi-value-field .cbi-input-select { - min-width: 15rem; -} .cbi-value-field .cbi-input-invalid { color: #f00; @@ -1937,11 +1934,6 @@ span[data-tooltip] .label { ); } -.zone-forwards { - display: flex; - min-width: 10rem; -} - .zone-forwards > * { flex: 1 1 45%; } @@ -2479,6 +2471,7 @@ input[name="nslookup"] { #cbi-firewall-zone .table { display: table; + table-layout: fixed; } #cbi-network-switch_vlan #vlan_table { @@ -2590,10 +2583,6 @@ input[name="nslookup"] { .node-admin-status > .main fieldset li > a { padding: .3rem .6rem; } - - #cbi-firewall-zone > .table { - display: block; - } } @media screen and (max-width: 1400px) { @@ -3119,10 +3108,6 @@ input[name="nslookup"] { min-width: 20rem; } - .cbi-value-field .cbi-input-select { - width: 20rem; - } - .cbi-value-field .cbi-dropdown { min-width: 20rem; } @@ -3138,10 +3123,6 @@ input[name="nslookup"] { min-width: 22rem; } - .cbi-value-field .cbi-input-select { - width: 22rem; - } - .cbi-value-field .cbi-dropdown { min-width: 22rem; } @@ -3153,10 +3134,6 @@ input[name="nslookup"] { min-width: 25rem; } - .cbi-value-field .cbi-input-select { - width: 25rem; - } - .cbi-value-field .cbi-dropdown { min-width: 25rem; }