Skip to content

Commit 6169261

Browse files
authored
fix: checkbox switch focus (#1451)
1 parent 44b92e6 commit 6169261

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/unfold/static/unfold/css/styles.css

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

src/unfold/widgets.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,16 +249,20 @@
249249
"h-5",
250250
"relative",
251251
"rounded-full",
252-
"transition-all",
252+
"transition-colors",
253253
"w-8",
254254
"min-w-8",
255+
"focus:outline-2",
256+
"focus:outline-offset-2",
257+
"focus:outline-primary-600",
255258
"after:absolute",
256259
"after:bg-white",
257260
"after:content-['']",
258261
"after:bg-red-300",
259262
"after:h-3",
260263
"after:rounded-full",
261264
"after:shadow-xs",
265+
"after:transition-all",
262266
"after:left-1",
263267
"after:top-1",
264268
"after:w-3",

0 commit comments

Comments
 (0)