(component): [tagInput]width 修改为 100%

This commit is contained in:
sight
2022-09-25 11:06:44 +08:00
parent 34b7502231
commit 6035cdd01f
3 changed files with 15 additions and 12 deletions

View File

@@ -1,5 +1,9 @@
.layui-select {
width: 220px;
.layui-tag-input{
width: 220px;
}
}
.layui-select-options {

View File

@@ -23,7 +23,7 @@
.layui-tag-input {
display: inline-flex;
box-sizing: border-box;
width: 220px;
width: 100%;
border-width: @tag-input-boeder;
border-style: solid;
border-color: var(--input-border-color);
@@ -87,7 +87,6 @@
align-items: center;
flex-wrap: wrap;
width: fit-content;
max-width: 240px;
height: auto;
overflow: hidden;