fix(dashboard): Fixes to campaign and promotions domains (#9022)

This commit is contained in:
Kasper Fabricius Kristensen
2024-09-05 22:18:38 +02:00
committed by GitHub
parent c27aa46939
commit e5b90b2d97
29 changed files with 886 additions and 710 deletions

View File

@@ -1,3 +1,5 @@
import { Badge } from "@medusajs/ui"
type CellProps = {
code: string
}
@@ -9,10 +11,9 @@ type HeaderProps = {
export const CodeCell = ({ code }: CellProps) => {
return (
<div className="flex h-full w-full items-center gap-x-3 overflow-hidden">
{/* // TODO: border color inversion*/}
<span className="bg-ui-tag-neutral-bg truncate rounded-md border border-neutral-200 p-1 text-xs">
<Badge size="2xsmall" className="truncate">
{code}
</span>
</Badge>
</div>
)
}