Commit f039c95d by 李长胜

调整标签高度

1 parent b364a598
......@@ -98,8 +98,8 @@
</div>
<div slot="tagsInput-type">
<div class="tagsWrap" v-if="tagDialogTitle == '编辑标签组'">
<span class="tag" :class="{ inputWrapShow: item.inputVisible }" v-for="item in editTagList" :key="item.id">
<el-input class="input-new-tag" maxlength="30" show-word-limit v-if="item.inputVisible" v-model.trim="item.name" ref="saveTagInput" size="small" @blur="handleInputConfirm(item.name, item.id)" @keyup.enter.native="handleInputConfirm(item.name, item.id)"></el-input>
<span class="tag" :class="{ inputWrapShow: item.inputVisible }" v-for="item in editTagList" :key="item.id">
<el-input class="input-new-tag" maxlength="30" show-word-limit v-if="item.inputVisible" v-model.trim="item.name" ref="saveTagInput" size="small" @blur="handleInputConfirm(item.name, item.id)" @keyup.enter.native="handleInputConfirm(item.name, item.id)"></el-input>
<el-tooltip class="item" :content="item.name" placement="top">
<span class="ellipsis-1" v-if="!item.inputVisible">{{ item.name }}</span>
</el-tooltip>
......@@ -822,6 +822,7 @@ export default {
display: flex;
flex-wrap: wrap;
align-content: flex-start;
padding-top: 3px;
img {
display: none;
}
......@@ -833,22 +834,28 @@ export default {
max-width: 200px;
margin-right: 10px;
margin-bottom: 10px;
height: 32px;
height: 26px;
line-height: 26px;
background: #fafbfe;
border-radius: 2px;
border-radius: 4px;
border: 1px solid #e8e8ea;
position: relative;
box-sizing: border-box;
.input-new-tag {
/deep/.input-new-tag {
// position: relative;
width: 100%;
}
.el-input--small .el-input__inner{
height: 26px;
line-height: 26px;
font-size: 14px;
}
.ellipsis-1 {
display: inline-block;
width: 100%;
font-weight: 400;
color: #666666;
font-size: 12px;
font-size: 14px;
}
&:hover {
.editIcon {
......@@ -868,6 +875,7 @@ export default {
.inputWrapShow {
//显示输入框时,不显示外面框的左右边距
padding: 0 0;
border: 0;
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!