Commit 02174383a7d4fbc2d75853ffecd65a91615821a6
1 parent
0c909aa1
style: tagview 左右对称
Showing
1 changed file
with
3 additions
and
3 deletions
yudao-ui-admin-vue3/src/layout/components/TagsView/src/TagsView.vue
| @@ -495,7 +495,7 @@ $prefix-cls: #{$namespace}-tags-view; | @@ -495,7 +495,7 @@ $prefix-cls: #{$namespace}-tags-view; | ||
| 495 | position: relative; | 495 | position: relative; |
| 496 | top: 2px; | 496 | top: 2px; |
| 497 | height: calc(100% - 4px); | 497 | height: calc(100% - 4px); |
| 498 | - padding-right: 20px; | 498 | + padding-right: 16px; |
| 499 | margin-left: 4px; | 499 | margin-left: 4px; |
| 500 | font-size: 12px; | 500 | font-size: 12px; |
| 501 | border-radius: 3px 3px 3px 3px; | 501 | border-radius: 3px 3px 3px 3px; |
| @@ -505,7 +505,7 @@ $prefix-cls: #{$namespace}-tags-view; | @@ -505,7 +505,7 @@ $prefix-cls: #{$namespace}-tags-view; | ||
| 505 | &--close { | 505 | &--close { |
| 506 | position: absolute; | 506 | position: absolute; |
| 507 | top: 50%; | 507 | top: 50%; |
| 508 | - right: 4px; | 508 | + right: 3px; |
| 509 | display: none; | 509 | display: none; |
| 510 | transform: translate(0, -50%); | 510 | transform: translate(0, -50%); |
| 511 | } | 511 | } |
| @@ -553,7 +553,7 @@ $prefix-cls: #{$namespace}-tags-view; | @@ -553,7 +553,7 @@ $prefix-cls: #{$namespace}-tags-view; | ||
| 553 | position: relative; | 553 | position: relative; |
| 554 | top: 2px; | 554 | top: 2px; |
| 555 | height: calc(100% - 4px); | 555 | height: calc(100% - 4px); |
| 556 | - padding-right: 20px; | 556 | + padding-right: 16px; |
| 557 | font-size: 12px; | 557 | font-size: 12px; |
| 558 | border-radius: 3px 3px 3px 3px; | 558 | border-radius: 3px 3px 3px 3px; |
| 559 | cursor: pointer; | 559 | cursor: pointer; |