luci-theme-bootstrap, luci-theme-openwrt-2020: fix dynlist overflows

Fixes: #3795
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2020-04-03 13:47:00 +02:00
parent 0c3152c88d
commit 015712bba0
2 changed files with 4 additions and 1 deletions

View file

@ -494,6 +494,8 @@ select,
border-radius: 3px;
position: relative;
pointer-events: none;
overflow: hidden;
word-break: break-all;
}
.cbi-dynlist > .item::after {

View file

@ -1114,13 +1114,14 @@ textarea {
.cbi-dynlist > .item {
box-shadow: 0 0 2px var(--main-dark-color);
margin: .3em 0;
padding: .15em .2em;
padding: .15em 2em .15em .2em;
border-radius: .25em;
position: relative;
overflow: hidden;
transition: box-shadow .25s ease-in-out;
pointer-events: none;
flex: 1 1 100%;
word-break: break-all;
}
.cbi-dynlist > .item::after {