← All changes
|
backend/views/components/Analytics/components/campaigns/CampaignHeader.jsx
+6
-6
1.4.2
→
1.4.21
View file →
| @@ -4,22 +4,22 @@ | ||
| 4 | 4 | const CampaignHeader = ({ campaign }) => { |
| 5 | 5 | const { dotColor, name, intent, dateRange, status } = campaign; |
| 6 | 6 | |
| 7 | 7 | return ( |
| 8 | - <div className="disco-bg-white disco-border disco-border-[#e5e7eb] disco-rounded-xl disco-px-4 disco-py-4 disco-flex disco-items-center disco-justify-between"> | |
| 8 | + <div className="disco:bg-white disco:border disco:border-[#e5e7eb] disco:rounded-xl disco:px-4 disco:py-4 disco:flex disco:items-center disco:justify-between"> | |
| 9 | 9 | {/* Left: identity */} |
| 10 | - <div className="disco-flex disco-items-start disco-gap-3"> | |
| 10 | + <div className="disco:flex disco:items-start disco:gap-3"> | |
| 11 | 11 | <span |
| 12 | - className="disco-size-[9px] disco-rounded-[3px] disco-shrink-0 disco-mt-1.5" | |
| 12 | + className="disco:size-[9px] disco:rounded-[3px] disco:shrink-0 disco:mt-1.5" | |
| 13 | 13 | style={{ backgroundColor: dotColor }} |
| 14 | 14 | /> |
| 15 | 15 | <div> |
| 16 | - <h2 className="disco-text-sm disco-font-bold disco-text-[#111827] disco-tracking-tight disco-leading-snug"> | |
| 16 | + <h2 className="disco:text-sm disco:font-bold disco:text-[#111827] disco:tracking-tight disco:leading-snug"> | |
| 17 | 17 | {name} |
| 18 | 18 | </h2> |
| 19 | - <div className="disco-flex disco-items-center disco-gap-1.5 disco-mt-1.5 disco-flex-wrap"> | |
| 19 | + <div className="disco:flex disco:items-center disco:gap-1.5 disco:mt-1.5 disco:flex-wrap"> | |
| 20 | 20 | <IntentBadge intent={intent} /> |
| 21 | - <span className="disco-text-xs disco-text-gray-500"> | |
| 21 | + <span className="disco:text-xs disco:text-gray-500"> | |
| 22 | 22 | {dateRange} |
| 23 | 23 | </span> |
| 24 | 24 | <StatusBadge status={status} /> |
| 25 | 25 | </div> |