Compare commits

...

2 Commits

Author SHA1 Message Date
Chen
5526696357 fix: update toggle switch active class name 2025-04-11 10:31:02 +08:00
cuikaipeng
5be0292536 fix(editor): the switch button style set in the TOC does not effect 2025-04-10 21:59:03 +08:00

View File

@@ -38,11 +38,11 @@ const styles = css`
transition: 0.1s;
}
label.subscribe {
label.on {
background: var(--affine-primary-color);
}
label.subscribe:after {
label.on:after {
left: calc(100% - 1px);
transform: translateX(-100%);
}