Skip to content

Commit 2a43929

Browse files
committed
fix: update SettingsToggle server fallback to prevent layout shift
1 parent 4954266 commit 2a43929

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/Settings/Toggle.server.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ defineProps<{
66
</script>
77

88
<template>
9-
<div class="w-full flex items-center justify-between gap-4">
9+
<div class="w-full flex items-center justify-between gap-4 py-1 -my-1">
1010
<span v-if="label" class="text-sm text-fg font-medium text-start">
1111
{{ label }}
1212
</span>
1313
<SkeletonBlock class="h-6 w-11 shrink-0 rounded-full" />
1414
</div>
15-
<p v-if="description" class="text-sm text-fg-muted">
15+
<p v-if="description" class="text-sm text-fg-muted mt-2">
1616
{{ description }}
1717
</p>
1818
</template>

0 commit comments

Comments
 (0)