fix: 修复TagsView居中样式问题 (#227)
Co-authored-by: mac <mac@macdeMacBook-Pro.local>
This commit is contained in:
parent
f7d4ea147e
commit
b02c8c6f60
@ -210,7 +210,9 @@ listenerRouteChange((route) => {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
.tags-view-wrapper {
|
.tags-view-wrapper {
|
||||||
.tags-view-item {
|
.tags-view-item {
|
||||||
display: inline-block;
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 26px;
|
height: 26px;
|
||||||
@ -234,8 +236,8 @@ listenerRouteChange((route) => {
|
|||||||
border-color: var(--v3-tagsview-tag-active-border-color);
|
border-color: var(--v3-tagsview-tag-active-border-color);
|
||||||
}
|
}
|
||||||
.el-icon {
|
.el-icon {
|
||||||
margin: 0 2px;
|
margin-left: 5px;
|
||||||
vertical-align: middle;
|
margin-right: 1px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: var(--v3-tagsview-tag-icon-hover-bg-color);
|
background-color: var(--v3-tagsview-tag-icon-hover-bg-color);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user