Skip to content

Commit

Permalink
Merge pull request #48 from meretamal/main
Browse files Browse the repository at this point in the history
Release 0.4.1
  • Loading branch information
meretamal authored May 14, 2023
2 parents e40013d + b9870f3 commit 2afec6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "celeste-ui",
"private": false,
"version": "0.4.0",
"version": "0.4.1",
"type": "module",
"main": "dist/index.umd.js",
"module": "dist/index.es.js",
Expand Down
5 changes: 3 additions & 2 deletions src/components/c-checkbox/c-checkbox.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export const useCheckboxStyles = () => {
},
'&::after': {
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
visibility: 'hidden',
Expand Down Expand Up @@ -62,13 +61,15 @@ export const useCheckboxStyles = () => {
borderRadius: '4px',
},
'&--small &__input::after': {
top: 0,
top: '-20%',
width: '0.75rem',
},
'&--medium &__input::after': {
top: '35%',
width: '1rem',
},
'&--large &__input::after': {
top: '40%',
width: '1.25rem',
},
...(
Expand Down

0 comments on commit 2afec6d

Please sign in to comment.