Skip to content

Commit

Permalink
fix: use break-word in title
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoSoaress committed Oct 10, 2023
1 parent 144b6ec commit eecc579
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/Home/Intro/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ const Intro = ({ title, text, buttons }: BaseBlock) => {
<div className={css.wrapper}>
<Container>
<Grid container flexDirection="column" className={css.content}>
<Grid item md={7}>
<Typography className={css.title} variant="h1">
{title}
</Typography>
<Grid item md={10} width="100%">
<Typography className={css.title}>{title}</Typography>
</Grid>
<Grid item md={6}>
<Typography className={css.subtitle}>{text}</Typography>
Expand Down
1 change: 1 addition & 0 deletions src/components/Home/Intro/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
font-weight: 400;
color: var(--mui-palette-text-primary);
margin-bottom: 24px;
overflow-wrap: break-word;
}

.subtitle {
Expand Down

0 comments on commit eecc579

Please sign in to comment.