Skip to content

Commit

Permalink
fix: 修复TagsView居中样式问题 (#227)
Browse files Browse the repository at this point in the history
Co-authored-by: mac <[email protected]>
  • Loading branch information
zdxxxxxx and mac authored Dec 6, 2024
1 parent f7d4ea1 commit b02c8c6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/layouts/components/TagsView/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit b02c8c6

Please sign in to comment.