Skip to content

Commit d969a2c

Browse files
committed
style(site): move Exit draft mode button to bottom-left with red background
1 parent 4c7d5f8 commit d969a2c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/site/src/components/DraftModeToggle.astro‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ const returnTo = Astro.url.pathname + Astro.url.search;
1111
method="POST"
1212
action="/api/draft-mode/disable"
1313
data-sanity-preview
14-
class="fixed bottom-4 right-4 z-50"
14+
class="fixed bottom-4 left-4 z-50"
1515
>
1616
<input type="hidden" name="returnTo" value={returnTo} />
1717
<button
1818
type="submit"
19-
class="rounded-full bg-primary px-4 py-2 text-sm font-medium text-primary-foreground shadow-lg hover:bg-primary/90 transition-colors"
19+
class="rounded-full bg-red-600 px-4 py-2 text-sm font-medium text-white shadow-lg hover:bg-red-700 transition-colors"
2020
>
2121
Exit draft mode
2222
</button>

0 commit comments

Comments
 (0)