1 parent 5a0b10d commit a2cc2a7Copy full SHA for a2cc2a7
1 file changed
apps/desktop/src/styles.css
@@ -9196,10 +9196,15 @@ img.settings-open-destination-icon {
9196
height: 16px;
9197
border-radius: 999px;
9198
background: #fff;
9199
+ /* Tailwind uses the independent translate property; do not combine it with
9200
+ this settings-specific transform or the thumb moves twice. */
9201
+ translate: none;
9202
+ transform: translateX(0);
9203
transition: transform 160ms ease;
9204
}
-.settings-toggle[data-checked] span,
-.settings-toggle[data-state="checked"] span { transform: translateX(16px); }
9205
+.settings-toggle:is([data-checked], [data-state="checked"]) > [data-slot="switch-thumb"] {
9206
+ transform: translateX(16px);
9207
+}
9208
.settings-action-button {
9209
min-width: 96px;
9210
height: 34px;
0 commit comments