Skip to content

Commit d04a84c

Browse files
authored
fix: Tag height (#1275)
* fix: Tag height being too big * chore: Release 12.0.5
1 parent aa5bec0 commit d04a84c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@equinor/amplify-component-lib",
3-
"version": "12.0.4",
3+
"version": "12.0.5",
44
"description": "Frontend Typescript components for the Amplify team",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/molecules/Tag/Tag.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Container = styled.div<ContainerProps>`
1919
padding: ${spacings.xx_small} ${spacings.x_small};
2020
gap: ${spacings.x_small};
2121
background: ${({ $color }) => TAG_COLORS[$color].background};
22-
min-height: calc(24px + 2 * ${spacings.xx_small});
22+
min-height: 24px;
2323
> span {
2424
color: ${({ $color }) => TAG_COLORS[$color].text};
2525
line-height: normal;

0 commit comments

Comments
 (0)