Commit f039c95d by 李长胜

调整标签高度

1 parent b364a598
...@@ -98,8 +98,8 @@ ...@@ -98,8 +98,8 @@
</div> </div>
<div slot="tagsInput-type"> <div slot="tagsInput-type">
<div class="tagsWrap" v-if="tagDialogTitle == '编辑标签组'"> <div class="tagsWrap" v-if="tagDialogTitle == '编辑标签组'">
<span class="tag" :class="{ inputWrapShow: item.inputVisible }" v-for="item in editTagList" :key="item.id"> <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-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"> <el-tooltip class="item" :content="item.name" placement="top">
<span class="ellipsis-1" v-if="!item.inputVisible">{{ item.name }}</span> <span class="ellipsis-1" v-if="!item.inputVisible">{{ item.name }}</span>
</el-tooltip> </el-tooltip>
...@@ -822,6 +822,7 @@ export default { ...@@ -822,6 +822,7 @@ export default {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
align-content: flex-start; align-content: flex-start;
padding-top: 3px;
img { img {
display: none; display: none;
} }
...@@ -833,22 +834,28 @@ export default { ...@@ -833,22 +834,28 @@ export default {
max-width: 200px; max-width: 200px;
margin-right: 10px; margin-right: 10px;
margin-bottom: 10px; margin-bottom: 10px;
height: 32px; height: 26px;
line-height: 26px;
background: #fafbfe; background: #fafbfe;
border-radius: 2px; border-radius: 4px;
border: 1px solid #e8e8ea; border: 1px solid #e8e8ea;
position: relative; position: relative;
box-sizing: border-box; box-sizing: border-box;
.input-new-tag { /deep/.input-new-tag {
// position: relative; // position: relative;
width: 100%; width: 100%;
} }
.el-input--small .el-input__inner{
height: 26px;
line-height: 26px;
font-size: 14px;
}
.ellipsis-1 { .ellipsis-1 {
display: inline-block; display: inline-block;
width: 100%; width: 100%;
font-weight: 400; font-weight: 400;
color: #666666; color: #666666;
font-size: 12px; font-size: 14px;
} }
&:hover { &:hover {
.editIcon { .editIcon {
...@@ -868,6 +875,7 @@ export default { ...@@ -868,6 +875,7 @@ export default {
.inputWrapShow { .inputWrapShow {
//显示输入框时,不显示外面框的左右边距 //显示输入框时,不显示外面框的左右边距
padding: 0 0; 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!