Skip to content

Commit

Permalink
Normalize tag stlyes
Browse files Browse the repository at this point in the history
  • Loading branch information
lucanovera committed Jan 14, 2025
1 parent 95543d8 commit 0eb5cc6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion clients/admin-ui/src/features/common/TaxonomiesPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,12 @@ const TaxonomiesPicker = ({
size="small"
icon={<SmallAddIcon mb="1px" />}
onClick={() => setIsAdding(true)}
className="max-h-[22px] max-w-[22px]"
data-testid="add-category-btn"
aria-label="Add category"
style={{
height: "22px",
width: "22px",
}}
/>

{isAdding && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ const ClassificationCategoryBadge = ({
fontWeight="normal"
cursor={onClick ? "pointer" : "default"}
onClick={onClick}
height="20px"
lineHeight={1.5}
_hover={onClick ? { borderColor: "primary.900" } : undefined}
{...props}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const AddCategoryButton = (props: ButtonProps) => (
<Button
size="small"
icon={<SmallAddIcon mb="1px" />}
className="max-h-[20px] max-w-[20px] border-gray-200 bg-white"
className="max-h-[22px] max-w-[22px] border-gray-200 bg-white"
data-testid="add-category-btn"
aria-label="Add category"
{...props}
Expand Down

0 comments on commit 0eb5cc6

Please sign in to comment.