← All changes
|
backend/views/components/Main/pages/Rules/Tabs/TabButton.jsx
+4
-4
1.4.2
→
1.4.21
View file →
| @@ -5,14 +5,14 @@ | ||
| 5 | 5 | return ( |
| 6 | 6 | <Tab as={Fragment}> |
| 7 | 7 | {({ selected }) => ( |
| 8 | 8 | <button |
| 9 | - className={`first:disco-rounded-l-xl last:disco-rounded-r-xl disco-box-border disco-border disco-border-gray-100 disco-pt-3.5 disco-pb-3 disco-flex-grow disco-justify-between disco-outline-none disco-text-base disco-bg-white ${ | |
| 9 | + className={`disco:first:rounded-l-xl disco:last:rounded-r-xl disco:box-border disco:border disco:border-gray-100 disco:pt-3.5 disco:pb-3 disco:grow disco:justify-between disco:outline-hidden disco:text-base ${ | |
| 10 | 10 | selected |
| 11 | - ? 'disco-bg-primary-light !disco-border !disco-bg-primary !disco-border-solid disco-text-white' | |
| 12 | - : '' | |
| 11 | + ? 'disco:bg-primary disco:border! disco:border-solid! disco:text-white' | |
| 12 | + : 'disco:bg-white' | |
| 13 | 13 | } ${ |
| 14 | - !disabled ? 'disco-text-primary' : 'disco-text-gray-400' | |
| 14 | + !disabled ? 'disco:text-primary' : 'disco:text-gray-400' | |
| 15 | 15 | }`} |
| 16 | 16 | > |
| 17 | 17 | {children} |
| 18 | 18 | </button> |