mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 20:16:26 +08:00
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:
@@ -38,11 +38,11 @@ const styles = css`
|
|||||||
transition: 0.1s;
|
transition: 0.1s;
|
||||||
}
|
}
|
||||||
|
|
||||||
label.subscribe {
|
label.on {
|
||||||
background: var(--affine-primary-color);
|
background: var(--affine-primary-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
label.subscribe:after {
|
label.on:after {
|
||||||
left: calc(100% - 1px);
|
left: calc(100% - 1px);
|
||||||
transform: translateX(-100%);
|
transform: translateX(-100%);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user