@@ -745,7 +745,7 @@ input[type="radio"] {
745
745
}
746
746
747
747
.generic-tabs .tab-nav {
748
- @apply flex border-b border-redis-pen-300 bg-redis-neutral-200 rounded-t-md;
748
+ @apply flex bg-redis-neutral-200 rounded-t-md border-x border-t border-b-0 border-redis-pen-300 ;
749
749
}
750
750
751
751
.generic-tabs .tab-radio {
@@ -757,24 +757,33 @@ input[type="radio"] {
757
757
bg-redis-neutral-200 border-r border-redis-pen-300
758
758
hover:bg-white hover:text-redis-ink-900
759
759
transition-colors duration-150 ease-in-out
760
- focus:outline-none focus:ring-2 focus:ring-redis-red-500 focus:ring-inset
761
- first:rounded-tl-md select-none;
760
+ focus:outline-none focus:ring-0
761
+ select-none;
762
762
}
763
763
764
- .generic-tabs .tab-label : last -child {
765
- @apply border-r-0 rounded-tr -md;
764
+ .generic-tabs .tab-label : first -child {
765
+ @apply rounded-tl -md;
766
766
}
767
767
768
768
.generic-tabs .tab-radio : checked + .tab-label {
769
- @apply bg-white text-redis-ink-900 border-b-2 border-b-redis-red-500 -mb-px relative z-10;
769
+ @apply bg-white text-redis-ink-900 border-x border-t border-redis-pen-300 border-b-white z-10;
770
+ }
771
+
772
+ .generic-tabs .tab-radio : checked : first-of-type + .tab-label {
773
+ @apply rounded-tl-md;
774
+ }
775
+
776
+ .generic-tabs .tab-radio : focus {
777
+ @apply ring-0 outline-none;
770
778
}
771
779
772
780
.generic-tabs .tab-radio : focus + .tab-label {
773
- @apply border-b-2 border-b-redis-red-500 -mb-px ;
781
+ @apply border-x border-t border-redis-pen-300 border-b-white focus:outline-none focus:ring-2 focus:ring-redis-pen-300 focus:ring-inset ;
774
782
}
775
783
776
784
.generic-tabs .tab-content {
777
- @apply hidden px-6 pb-6 pt-3 bg-white border border-t-0 border-redis-pen-300 rounded-b-md shadow-sm;
785
+ @apply hidden px-6 pb-6 pt-3 bg-white border border-redis-pen-300 rounded-b-md shadow-sm;
786
+ /* Unified border (including top) to align with tab borders */
778
787
}
779
788
780
789
.generic-tabs .tab-content .active {
0 commit comments