diff --git a/packages/sanity/src/core/studio/studioAnnouncements/StudioAnnouncementsDialog.tsx b/packages/sanity/src/core/studio/studioAnnouncements/StudioAnnouncementsDialog.tsx index db4da472a72..9ae088476bc 100644 --- a/packages/sanity/src/core/studio/studioAnnouncements/StudioAnnouncementsDialog.tsx +++ b/packages/sanity/src/core/studio/studioAnnouncements/StudioAnnouncementsDialog.tsx @@ -36,12 +36,13 @@ const DialogHeader = styled(Grid)` background: var(--card-bg-color); ` -const FloatingButton = styled(Button)` +const FloatingButtonBox = styled(Box)` position: absolute; top: 12px; right: 24px; z-index: 2; ` +const FloatingButton = styled(Button)`` interface AnnouncementProps { announcement: StudioAnnouncementDocument @@ -193,15 +194,17 @@ export function StudioAnnouncementsDialog({ {index < announcements.length - 1 && } ))} - + + + )