@@ -745,7 +745,7 @@ input[type="radio"] {
745745}
746746
747747.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 ;
749749}
750750
751751.generic-tabs .tab-radio {
@@ -757,24 +757,33 @@ input[type="radio"] {
757757 bg-redis-neutral-200 border-r border-redis-pen-300
758758 hover:bg-white hover:text-redis-ink-900
759759 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;
762762}
763763
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;
766766}
767767
768768.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;
770778}
771779
772780.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 ;
774782}
775783
776784.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 */
778787}
779788
780789.generic-tabs .tab-content .active {
0 commit comments