fix(editor): the switch button style set in the TOC does not effect (#11622)

Co-authored-by: Chen <99816898+donteatfriedrice@users.noreply.github.com>
This commit is contained in:
Kieran Cui
2025-04-11 11:22:24 +08:00
committed by GitHub
parent 5670eb4d02
commit bcd1cd2629

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%);
}