Skip to content

Commit

Permalink
修复某些输入框过小(移动端比较常见)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpeedPartner committed Mar 21, 2023
1 parent a17b2cb commit 176c6ca
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
14 changes: 9 additions & 5 deletions htdocs/luci-static/argon/css/cascade.css
Expand Up @@ -1777,11 +1777,15 @@ table > thead > tr > th,
.cbi-section-table-row:last-child {
margin-bottom: 0;
}
.cbi-section-table-row > .cbi-value-field .cbi-input-select,
.cbi-section-table-row > .cbi-value-field .cbi-input-text,
.cbi-section-table-row > .cbi-value-field .cbi-input-password,
.cbi-section-table-row > .cbi-value-field .cbi-dropdown {
width: 100%;
.cbi-section-table-row>.cbi-value-field .cbi-dropdown,
.cbi-section-table-row>.cbi-value-field .cbi-input-select,
.cbi-section-table-row>.cbi-value-field .cbi-input-text,
.cbi-section-table-row>.cbi-value-field .cbi-input-password{
width:100%
}
.cbi-section-table-row>.cbi-value-field .cbi-input-text,
.cbi-section-table-row>.cbi-value-field .cbi-input-password{
min-width:100px
}
.cbi-section-table-row > .cbi-value-field [data-dynlist] > input,
.cbi-section-table-row > .cbi-value-field input.cbi-input-password {
Expand Down
11 changes: 8 additions & 3 deletions htdocs/luci-static/argon/less/cascade.less
Expand Up @@ -2165,11 +2165,16 @@ table>thead>tr>th,
margin-bottom: 0;
}

.cbi-section-table-row>.cbi-value-field .cbi-dropdown,
.cbi-section-table-row>.cbi-value-field .cbi-input-select,
.cbi-section-table-row>.cbi-value-field .cbi-input-text,
.cbi-section-table-row>.cbi-value-field .cbi-input-password,
.cbi-section-table-row>.cbi-value-field .cbi-dropdown {
width: 100%;
.cbi-section-table-row>.cbi-value-field .cbi-input-password{
width:100%
}

.cbi-section-table-row>.cbi-value-field .cbi-input-text,
.cbi-section-table-row>.cbi-value-field .cbi-input-password{
min-width:100px
}

.cbi-section-table-row>.cbi-value-field [data-dynlist]>input,
Expand Down

0 comments on commit 176c6ca

Please sign in to comment.