style: remove hover style in disable tab

pull/49/head
moonrailgun 3 years ago
parent 853222f50f
commit 3b8dd132f5

@ -14,13 +14,15 @@
padding: 2px 8px; padding: 2px 8px;
@apply text-gray-800 dark:text-gray-200 bg-black bg-opacity-0 dark:bg-white dark:bg-opacity-0; @apply text-gray-800 dark:text-gray-200 bg-black bg-opacity-0 dark:bg-white dark:bg-opacity-0;
&.ant-tabs-tab-active, &:not(.ant-tabs-tab-disabled) {
&:hover, &.ant-tabs-tab-active,
&:active { &:hover,
@apply rounded bg-opacity-20; &:active {
@apply rounded bg-opacity-20;
.ant-tabs-tab-btn { .ant-tabs-tab-btn {
@apply text-black dark:text-white ; @apply text-black dark:text-white ;
}
} }
} }
} }

Loading…
Cancel
Save