Skip to content

Commit

Permalink
Merge pull request #11 from trento-project/homepage-mobile-width-fix
Browse files Browse the repository at this point in the history
Change to Mobile Content Padding
  • Loading branch information
stefanotorresi authored May 16, 2024
2 parents 53ed1de + f5c63c6 commit dbaa0b6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions themes/hugo-refresh/assets/style.sass
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ h1, h2, h3, h4, h5, h6, p, strong
.is-row-reversed
flex-direction: row-reverse

.homepage-content p
margin-bottom: 1rem

@media (max-width: 767px)
.landing-caption
margin-bottom: 20%
Expand All @@ -118,6 +121,6 @@ h1, h2, h3, h4, h5, h6, p, strong
.landing-caption
margin-bottom: 10%

.homepage-content p
margin-bottom: 1rem
padding: 0 6rem
@media (min-width: 640px)
.homepage-content p
padding: 0 5rem

0 comments on commit dbaa0b6

Please sign in to comment.