mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 17:21:53 +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
|
<span
|
||||||
:class="`${prefixCls}__tool`"
|
: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)"
|
@click="move(-200)"
|
||||||
>
|
>
|
||||||
<Icon
|
<Icon
|
||||||
@ -470,6 +470,9 @@ $prefix-cls: #{$namespace}-tags-view;
|
|||||||
|
|
||||||
&__tool {
|
&__tool {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
:deep(span) {
|
:deep(span) {
|
||||||
|
Loading…
Reference in New Issue
Block a user