Skip to content

Commit

Permalink
Merge pull request #583 from Groww-OSS/fix/tab-class-issue
Browse files Browse the repository at this point in the history
fixed spacing
  • Loading branch information
saloni-groww authored Dec 16, 2024
2 parents 16c23ac + ab29f3f commit 560cd8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/ui-toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@groww-tech/ui-toolkit",
"version": "0.7.9-alpha",
"version": "0.7.9-alpha.2",
"description": "A lightning nature UI",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/ui-toolkit/src/components/atoms/Tag/Tag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ const Tag = (props: Props) => {
let tagClass = props.tagClass;

if (props.isWarning) {
tagClass += 'backgroundWarningSubtle contentPrimary';
tagClass += ' backgroundWarningSubtle contentPrimary';

} else if (props.isError) {
tagClass += 'backgroundNegativeSubtle contentPrimary';
tagClass += ' backgroundNegativeSubtle contentPrimary';

} else if (props.isInfo) {
tagClass += 'contentPrimary backgroundAccentSubtle';
tagClass += ' contentPrimary backgroundAccentSubtle';
}

if (childrenCount === 1) {
Expand Down

0 comments on commit 560cd8a

Please sign in to comment.