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

Commit 0442dc6

Browse files
committed
feat: improve radio check wrapper responsiveness
1 parent e029da9 commit 0442dc6

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

dist/cherry.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cherry.module.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.2-3",
3+
"version": "0.0.2-4",
44
"description": "Cherry React Components",
55
"main": "dist/cherry.js",
66
"module": "dist/cherry.module.js",

src/Layout/Input/Input.styles.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,22 @@ export const radioCheckWrapperStyles = (theme, type, size, fullWidth) => css`
139139
& label {
140140
max-width: calc(100% - 40px);
141141
min-width: calc(100% - 32px);
142-
margin-top: 4px;
142+
margin-top: 5px;
143+
144+
${mq(Breakpoints.lg)} {
145+
margin-top: 4px;
146+
}
143147
}
144148
`
145149
: css`
146150
& label {
147151
max-width: calc(100% - 30px);
148152
min-width: calc(100% - 22px);
149-
margin-top: -1px;
153+
margin-top: 0;
154+
155+
${mq(Breakpoints.lg)} {
156+
margin-top: -1px;
157+
}
150158
}
151159
`}
152160

0 commit comments

Comments
 (0)