Skip to content

Commit

Permalink
Update global banner styles
Browse files Browse the repository at this point in the history
  • Loading branch information
robinandeer committed Jul 7, 2023
1 parent 085419f commit c0ecb1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/store/src/components/Banner/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const Icon = ({ variant }: { variant: BannerVariant }) => {
}

const Wrapper = styled.div<{ variant: BannerVariant }>(({ variant }) => ({
height: '3rem',
display: 'grid',
// Using grid here to perfect center align banner's content, excluding close button
gridTemplateAreas: `
Expand All @@ -61,6 +62,8 @@ const Wrapper = styled.div<{ variant: BannerVariant }>(({ variant }) => ({
paddingBlock: theme.space.sm,
paddingInline: theme.space.md,
fontSize: theme.fontSizes.xs,

borderBottom: `0.5px solid ${theme.colors.borderTranslucent1}`,
...getVariantStyles(variant),

[mq.lg]: {
Expand Down

0 comments on commit c0ecb1b

Please sign in to comment.