Skip to content

Commit c4d7f33

Browse files
committed
refactor: Rename round-icon-button class to circle-button for consistency and clarity
1 parent 0914b6c commit c4d7f33

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/Elements/Button/Button.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535
}
3636

37-
.round-icon-button {
37+
.circle-button {
3838
border-radius: 50px;
3939
cursor: pointer;
4040
display: inline-flex;
@@ -44,7 +44,7 @@
4444
border: none;
4545
padding: 0;
4646
padding: 0;
47-
47+
font-size: 1.1em;
4848
&.small {
4949
min-width: 30px;
5050
height: 30px;

src/components/Elements/Button/CircleButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const CircleButton = ({
2828
}: CircleButtonProps) => {
2929
return (
3030
<button
31-
className={clsx('round-icon-button', sizes[size], variants[variant], className)}
31+
className={clsx('circle-button', sizes[size], variants[variant], className)}
3232
onClick={onClick}>
3333
{children}
3434
</button>

0 commit comments

Comments
 (0)