styles: refactor codebase base style
This commit is contained in:
@@ -23,8 +23,8 @@ const TopHeader = ({
|
||||
{(title || onAddNew) && (
|
||||
<div className="flex flex-col gap-3 md:flex-row md:items-center md:justify-between">
|
||||
<div>
|
||||
{title ? <h2 className="text-base font-semibold">{title}</h2> : null}
|
||||
<p className="text-sm text-muted-foreground">Total {itemCount ?? 0}</p>
|
||||
{title ? <h2>{title}</h2> : null}
|
||||
<p className="text-muted-foreground">Total {itemCount ?? 0}</p>
|
||||
</div>
|
||||
{onAddNew ? (
|
||||
<Button onClick={onAddNew}>
|
||||
|
||||
Reference in New Issue
Block a user