Upload folder using huggingface_hub
Browse files
client/src/components/Refinity.tsx
CHANGED
|
@@ -445,6 +445,11 @@ const Refinity: React.FC = () => {
|
|
| 445 |
selectManual(v.id);
|
| 446 |
}}
|
| 447 |
className="inline-flex items-center justify-center gap-2 px-3 py-2 text-sm font-medium rounded-2xl text-white ring-1 ring-inset ring-white/50 backdrop-blur-md backdrop-brightness-110 backdrop-saturate-150 bg-indigo-600/70 active:translate-y-0.5 transition-all duration-200"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 448 |
>
|
| 449 |
Revise
|
| 450 |
</button>
|
|
@@ -462,21 +467,6 @@ const Refinity: React.FC = () => {
|
|
| 462 |
);
|
| 463 |
})}
|
| 464 |
</SwiperRoot>
|
| 465 |
-
|
| 466 |
-
{/* External Revise button specifically for v2 when it's centered */}
|
| 467 |
-
{taskVersions[flowIndex]?.versionNumber === 2 && (
|
| 468 |
-
<div
|
| 469 |
-
onClick={() => {
|
| 470 |
-
selectManual(taskVersions[flowIndex].id);
|
| 471 |
-
}}
|
| 472 |
-
className="absolute bottom-6 left-1/2 transform -translate-x-1/2 z-50"
|
| 473 |
-
>
|
| 474 |
-
<div className="inline-flex items-center justify-center gap-2 px-3 py-2 text-sm font-medium rounded-2xl text-white ring-1 ring-inset ring-white/50 backdrop-blur-md backdrop-brightness-110 backdrop-saturate-150 bg-indigo-600/70 active:translate-y-0.5 transition-all duration-200 cursor-pointer">
|
| 475 |
-
Revise
|
| 476 |
-
</div>
|
| 477 |
-
</div>
|
| 478 |
-
)}
|
| 479 |
-
|
| 480 |
{compareUIOpen && (
|
| 481 |
<div className="mt-4 p-3 rounded-2xl border border-gray-200 bg-white/60 backdrop-blur">
|
| 482 |
<div className="flex flex-col md:flex-row gap-3 md:items-end">
|
|
@@ -563,7 +553,7 @@ const Refinity: React.FC = () => {
|
|
| 563 |
.mySwiper .swiper-slide button {
|
| 564 |
pointer-events: auto !important;
|
| 565 |
position: relative;
|
| 566 |
-
z-index:
|
| 567 |
transform: translateZ(0) !important;
|
| 568 |
-webkit-transform: translateZ(0) !important;
|
| 569 |
}
|
|
@@ -572,7 +562,15 @@ const Refinity: React.FC = () => {
|
|
| 572 |
.mySwiper .swiper-slide-active button,
|
| 573 |
.mySwiper .swiper-slide button {
|
| 574 |
pointer-events: auto !important;
|
| 575 |
-
z-index:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 576 |
}
|
| 577 |
` }} />
|
| 578 |
</div>
|
|
|
|
| 445 |
selectManual(v.id);
|
| 446 |
}}
|
| 447 |
className="inline-flex items-center justify-center gap-2 px-3 py-2 text-sm font-medium rounded-2xl text-white ring-1 ring-inset ring-white/50 backdrop-blur-md backdrop-brightness-110 backdrop-saturate-150 bg-indigo-600/70 active:translate-y-0.5 transition-all duration-200"
|
| 448 |
+
style={{
|
| 449 |
+
pointerEvents: 'auto',
|
| 450 |
+
zIndex: 9999,
|
| 451 |
+
position: 'relative'
|
| 452 |
+
}}
|
| 453 |
>
|
| 454 |
Revise
|
| 455 |
</button>
|
|
|
|
| 467 |
);
|
| 468 |
})}
|
| 469 |
</SwiperRoot>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 470 |
{compareUIOpen && (
|
| 471 |
<div className="mt-4 p-3 rounded-2xl border border-gray-200 bg-white/60 backdrop-blur">
|
| 472 |
<div className="flex flex-col md:flex-row gap-3 md:items-end">
|
|
|
|
| 553 |
.mySwiper .swiper-slide button {
|
| 554 |
pointer-events: auto !important;
|
| 555 |
position: relative;
|
| 556 |
+
z-index: 9999 !important;
|
| 557 |
transform: translateZ(0) !important;
|
| 558 |
-webkit-transform: translateZ(0) !important;
|
| 559 |
}
|
|
|
|
| 562 |
.mySwiper .swiper-slide-active button,
|
| 563 |
.mySwiper .swiper-slide button {
|
| 564 |
pointer-events: auto !important;
|
| 565 |
+
z-index: 9999 !important;
|
| 566 |
+
}
|
| 567 |
+
/* Specifically target the first button (Revise) */
|
| 568 |
+
.mySwiper .swiper-slide-active button:first-child {
|
| 569 |
+
pointer-events: auto !important;
|
| 570 |
+
z-index: 99999 !important;
|
| 571 |
+
position: relative !important;
|
| 572 |
+
transform: translateZ(0) !important;
|
| 573 |
+
-webkit-transform: translateZ(0) !important;
|
| 574 |
}
|
| 575 |
` }} />
|
| 576 |
</div>
|