Skip to content

Commit 195ffdf

Browse files
committed
Adjust checkbox design
1 parent effba32 commit 195ffdf

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

docusaurus/src/scss/checklist.scss

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858

5959
&__checkbox {
6060
flex-shrink: 0;
61-
width: 14px;
62-
height: 14px;
61+
width: 16px;
62+
height: 16px;
6363
border: 1.5px solid var(--strapi-neutral-300);
6464
border-radius: 50%;
6565
background-color: transparent;
@@ -84,9 +84,9 @@
8484
left: 4px;
8585
top: 2px;
8686
width: 3px;
87-
height: 5px;
87+
height: 6px;
8888
border: solid white;
89-
border-width: 0 1.5px 1.5px 0;
89+
border-width: 0 2px 2px 0;
9090
transform: rotate(45deg);
9191
opacity: 0;
9292
transition: opacity 0.1s ease 0.05s;
@@ -106,11 +106,6 @@
106106
}
107107
}
108108

109-
&__label:hover &__checkbox {
110-
border-color: var(--strapi-primary-500);
111-
transform: scale(1.1);
112-
}
113-
114109
&__input:focus-visible + &__checkbox {
115110
outline: 2px solid var(--strapi-primary-500);
116111
outline-offset: 2px;

0 commit comments

Comments
 (0)