fix: 修复TagsView居中样式问题 (#227)

Co-authored-by: mac <mac@macdeMacBook-Pro.local>
This commit is contained in:
zhengdongxiang 2024-12-06 13:44:16 +08:00 committed by GitHub
parent f7d4ea147e
commit b02c8c6f60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -210,7 +210,9 @@ listenerRouteChange((route) => {
overflow: hidden;
.tags-view-wrapper {
.tags-view-item {
display: inline-block;
display: inline-flex;
align-items: center;
justify-content: center;
position: relative;
cursor: pointer;
height: 26px;
@ -234,8 +236,8 @@ listenerRouteChange((route) => {
border-color: var(--v3-tagsview-tag-active-border-color);
}
.el-icon {
margin: 0 2px;
vertical-align: middle;
margin-left: 5px;
margin-right: 1px;
border-radius: 50%;
&:hover {
background-color: var(--v3-tagsview-tag-icon-hover-bg-color);