mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 23:31:52 +08:00
update yudao-ui-admin-vue3/src/layout/components/TagsView/src/TagsView.vue.
解决tagViews左右两侧按钮不能垂直居中的问题,直接使用flex,简简单单 Signed-off-by: AKING <2734339436@qq.com>
This commit is contained in:
parent
b7198bd373
commit
7fc50f186c
@ -262,7 +262,7 @@ watch(
|
||||
>
|
||||
<span
|
||||
:class="`${prefixCls}__tool`"
|
||||
class="w-[var(--tags-view-height)] h-[var(--tags-view-height)] text-center leading-[var(--tags-view-height)] cursor-pointer"
|
||||
class="w-[var(--tags-view-height)] h-[var(--tags-view-height)] cursor-pointer"
|
||||
@click="move(-200)"
|
||||
>
|
||||
<Icon
|
||||
@ -470,6 +470,9 @@ $prefix-cls: #{$namespace}-tags-view;
|
||||
|
||||
&__tool {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
&:hover {
|
||||
:deep(span) {
|
||||
|
Loading…
Reference in New Issue
Block a user