luci-theme-bootstrap, luci-theme-openwrt: allow dynlist .add-item to expand

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2018-11-20 13:31:58 +01:00
parent 398d69945a
commit 515562be27
2 changed files with 16 additions and 0 deletions

View file

@ -496,6 +496,14 @@ select,
pointer-events: auto;
}
.cbi-dynlist > .add-item {
display: flex;
}
.cbi-dynlist > .add-item > input {
flex: 1 1 auto;
}
select {
padding: initial;
background: #fff;

View file

@ -1263,6 +1263,14 @@ ul.cbi-tabmenu li.cbi-tab {
height: auto;
}
.cbi-dynlist > .add-item {
display: flex;
}
.cbi-dynlist > .add-item > input {
flex: 1 1 auto;
}
input[type="text"] + .cbi-button,
input[type="password"] + .cbi-button,
select + .cbi-button {