Skip to content

Commit e6b56c1

Browse files
committed
Fix button style
1 parent d7bb746 commit e6b56c1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jderobot-ide-interface",
3-
"version": "0.1.24",
3+
"version": "0.1.25",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"files": [

src/components/Button/Button.styles.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,17 @@ const handleLabel = (p: StyledButtonProps) => {
6363
if (!p.isLabel) {
6464
return `
6565
width: 24px;
66+
`;
67+
}
68+
return `
6669
color: ${p.color ?? primaryColor};
6770
height: 100%;
6871
font-size: 15px;
6972
margin: 0 5px 0 5px;
7073
white-space: nowrap;
7174
`;
72-
}
7375
};
7476

75-
7677
export const StyledButton = styled.button<StyledButtonProps>`
7778
display: flex;
7879
justify-content: center;

0 commit comments

Comments
 (0)