Skip to content

Commit

Permalink
feat(Announcements): Change margin top on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
cballevre committed Oct 15, 2024
1 parent d7c0788 commit 5de4338
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Announcements/AnnouncementsDialogContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ const AnnouncementsDialogContent: FC<AnnouncementsDialogContentProps> = ({
announcement.attributes.primary_image.data.attributes
.alternativeText
}
className="u-mb-2 u-bdrs-3 u-maw-100"
className="u-mb-2 u-bdrs-3 u-maw-100 u-mt-2-s"
style={{
...(isMobile ? { marginTop: 'calc(100vh / 6)' } : {}),
objectFit: 'cover',
objectPosition: '100% 0',
maxHeight: '14rem'
Expand Down

0 comments on commit 5de4338

Please sign in to comment.