Skip to content

Commit

Permalink
🎨 add auto to x margins and max width (#2110)
Browse files Browse the repository at this point in the history
  • Loading branch information
BorghildSelle authored Feb 16, 2024
1 parent fcf08a7 commit a1d9b41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/pageComponents/pageTemplates/shared/SharedTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ type SharedTitleProps = {

const StyledHeading = styled(TitleText)`
padding: var(--space-xLarge) var(--layout-paddingHorizontal-large);
max-width: var(--maxViewportWidth);
margin-left: auto;
margin-right: auto;
`

const SharedTitle = ({ sharedTitle, background }: SharedTitleProps) => {
Expand Down

0 comments on commit a1d9b41

Please sign in to comment.