Browse Source

fix(nc-gui): fix carousel icon visibility

pull/4931/head
Wing-Kam Wong 2 years ago
parent
commit
16321e2c89
  1. 7
      packages/nc-gui/components/cell/attachment/Carousel.vue

7
packages/nc-gui/components/cell/attachment/Carousel.vue

@ -70,13 +70,13 @@ onClickOutside(carouselRef, () => {
> >
<template #prevArrow> <template #prevArrow>
<div class="custom-slick-arrow left-2 z-1"> <div class="custom-slick-arrow left-2 z-1">
<MaterialSymbolsArrowCircleLeftRounded class="bg-white rounded-full" /> <MaterialSymbolsArrowCircleLeftRounded class="rounded-full" />
</div> </div>
</template> </template>
<template #nextArrow> <template #nextArrow>
<div class="custom-slick-arrow !right-2 z-1"> <div class="custom-slick-arrow !right-2 z-1">
<MaterialSymbolsArrowCircleRightRounded class="bg-white rounded-full" /> <MaterialSymbolsArrowCircleRightRounded class="rounded-full" />
</div> </div>
</template> </template>
@ -105,6 +105,9 @@ onClickOutside(carouselRef, () => {
</template> </template>
<style scoped> <style scoped>
.ant-carousel :deep(.custom-slick-arrow .nc-icon):hover {
@apply !bg-white;
}
.ant-carousel :deep(.slick-dots) { .ant-carousel :deep(.slick-dots) {
@apply relative mt-4; @apply relative mt-4;
} }

Loading…
Cancel
Save