luci-theme-rosy: fix #2887 2913/head
authorRosy Song <rosysong@rosinson.com>
Wed, 24 Jul 2019 12:26:42 +0000 (20:26 +0800)
committerRosy Song <rosysong@rosinson.com>
Wed, 24 Jul 2019 12:26:42 +0000 (20:26 +0800)
Signed-off-by: Rosy Song <rosysong@rosinson.com>
themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css

index d6460532fa09fea09110b9e96f10e53ccfccddf8..388f2a811025204aac8097459da6762e6028dc59 100644 (file)
@@ -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;
        }