Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Commit 1641615

Browse files
committed
refactor: improve label styles
1 parent 5ce4cfc commit 1641615

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cherry-components",
3-
"version": "0.0.1-9",
3+
"version": "0.0.1-10",
44
"description": "Cherry React Components",
55
"main": "dist/cherry.js",
66
"module": "dist/cherry.module.js",

src/Layout/Input/Input.styles.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export const inputStyles = (theme, type, size, disabled, success, error) => css`
6767
${(type === "checkbox") | (type === "radio") &&
6868
css`
6969
padding: 0;
70+
margin-right: 7px;
7071
7172
${size === "big"
7273
? css`

src/Layout/Label/Label.styles.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ export const labelStyles = (theme, error, success) => css`
77
padding: 0;
88
margin: 0;
99
10-
&[for] {
11-
padding: 0 0 0 7px;
12-
}
13-
1410
${error &&
1511
css`
1612
color: ${theme.colors.error};

0 commit comments

Comments
 (0)