Skip to content

Commit

Permalink
chore(core): update announcements card close icon (#7822)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobonamin authored Nov 15, 2024
1 parent 3efc59d commit 89b49b2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable camelcase */
import {RemoveIcon} from '@sanity/icons'
import {CloseIcon} from '@sanity/icons'
import {useTelemetry} from '@sanity/telemetry/react'
import {Box, Card, Stack, Text} from '@sanity/ui'
// eslint-disable-next-line camelcase
Expand Down Expand Up @@ -72,7 +72,7 @@ const Root = styled.div((props) => {
const ButtonRoot = styled.div`
z-index: 1;
position: absolute;
top: 4px;
top: 0px;
right: 6px;
`

Expand Down Expand Up @@ -152,7 +152,7 @@ export function StudioAnnouncementsCard({
id="close-floating-button"
mode="bleed"
onClick={onCardDismiss}
icon={RemoveIcon}
icon={CloseIcon}
tone="default"
aria-label={t('announcement.floating-button.dismiss-label')}
tooltipProps={{
Expand Down

0 comments on commit 89b49b2

Please sign in to comment.