linguabot commited on
Commit
3b07f92
·
verified ·
1 Parent(s): 18f5abb

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. client/src/components/Refinity.tsx +6 -5
client/src/components/Refinity.tsx CHANGED
@@ -581,22 +581,23 @@ const Refinity: React.FC = () => {
581
  .mySwiper .swiper-button-prev:after, .mySwiper .swiper-button-next:after { font-size: 18px; color: #94a3b8; }
582
  .mySwiper .swiper-pagination { bottom: 6px; }
583
  /* Ensure buttons inside slides are clickable */
584
- .mySwiper .swiper-slide button {
585
  pointer-events: auto !important;
586
  position: relative;
587
  z-index: 9999 !important;
588
  transform: translateZ(0) !important;
589
  -webkit-transform: translateZ(0) !important;
590
  }
591
- .mySwiper .swiper-slide button:hover { transform: translateY(-0.5px) translateZ(0) !important; }
592
  /* Force button clickability on all slides */
593
  .mySwiper .swiper-slide-active button,
594
- .mySwiper .swiper-slide button {
 
595
  pointer-events: auto !important;
596
  z-index: 9999 !important;
597
  }
598
- /* Specifically target the first button (Revise) */
599
- .mySwiper .swiper-slide-active button:first-child {
600
  pointer-events: auto !important;
601
  z-index: 99999 !important;
602
  position: relative !important;
 
581
  .mySwiper .swiper-button-prev:after, .mySwiper .swiper-button-next:after { font-size: 18px; color: #94a3b8; }
582
  .mySwiper .swiper-pagination { bottom: 6px; }
583
  /* Ensure buttons inside slides are clickable */
584
+ .mySwiper .swiper-slide button, .mySwiper .swiper-slide .action-row > * {
585
  pointer-events: auto !important;
586
  position: relative;
587
  z-index: 9999 !important;
588
  transform: translateZ(0) !important;
589
  -webkit-transform: translateZ(0) !important;
590
  }
591
+ .mySwiper .swiper-slide button:hover, .mySwiper .swiper-slide .action-row > *:hover { transform: translateY(-0.5px) translateZ(0) !important; }
592
  /* Force button clickability on all slides */
593
  .mySwiper .swiper-slide-active button,
594
+ .mySwiper .swiper-slide button,
595
+ .mySwiper .swiper-slide .action-row > * {
596
  pointer-events: auto !important;
597
  z-index: 9999 !important;
598
  }
599
+ /* Ensure first child in action row is clickable */
600
+ .mySwiper .swiper-slide .action-row > *:first-child {
601
  pointer-events: auto !important;
602
  z-index: 99999 !important;
603
  position: relative !important;