Skip to content

Commit

Permalink
quick update
Browse files Browse the repository at this point in the history
  • Loading branch information
emrebilge committed Dec 8, 2023
1 parent 456773d commit bcf83a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/components/TagComponent/Tag.definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ export interface TagProps {
variant: 'small' | 'normal' | 'large';
color: 'green' | 'yellow' | 'red' | 'blue' | 'gray';
text: string;
}

}
3 changes: 2 additions & 1 deletion src/components/TagComponent/Tag.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 50px;
}

.small {
Expand Down Expand Up @@ -39,7 +40,7 @@
}

.blue {
background-color: #17a2b8;
background-color: rgb(52, 93, 179);
}

.gray {
Expand Down
2 changes: 1 addition & 1 deletion src/components/TagComponent/tests/Tag.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Tag from "../Tag";
import styles from "../Tag.module.css";
import { render } from "@testing-library/react";
import styles from "../Tag.modules.css";

/**************************TAG COMPONENT TESTING SUITE*******************************/
describe("Tag Component Tests", () => {
Expand Down

0 comments on commit bcf83a7

Please sign in to comment.