Skip to content

Commit

Permalink
Fix home page title overflow for /de/ (Fixes #13608)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgibson authored and stephaniehobson committed Nov 23, 2023
1 parent 90fbdcc commit 3e59b43
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions media/css/mozorg/home/home-new.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,26 @@ header {
text-align: center;

h1 {
@include font-size(54px);
@include font-size(32px);
}

p {
@include font-mozilla;
@include font-size(30px);
@include font-size(18px);
margin: 0 auto;
max-width: 780px;
line-height: 1.4;
}

@media #{$mq-md} {
h1 {
@include font-size(54px);
}

p {
@include font-size(30px);
}
}
}
}

Expand All @@ -32,7 +42,7 @@ header {
text-align: center;

@media #{$mq-xs} {
@include font-size(35px);
@include font-size(32px);
}

@media #{$mq-md} {
Expand Down

0 comments on commit 3e59b43

Please sign in to comment.