Fix some line-heights

This commit is contained in:
Aarni Halinen
2020-12-28 20:31:42 +02:00
parent 4dd4cbee72
commit 337e91e97d
3 changed files with 1 additions and 8 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ const StyledLink = styled(Anchor)<{path: string}>`
padding: 1rem 3rem 1rem 1rem;
letter-spacing: 3px;
text-transform: uppercase;
line-height: 20px;
line-height: 1.25;
font-weight: bold;
white-space: nowrap;
color: ${colors.white};
@@ -10,11 +10,6 @@ interface HeroPrimarySectionProps {
const Section = styled.section`
margin: 10vh auto 0;
text-align: center;
line-height: 1.5rem;
h1 {
line-height: 40px;
}
p {
margin: 1em auto;
-2
View File
@@ -19,12 +19,10 @@ html {
@media screen and (min-width: 1920px) {
font-size: $base-font * 1.25; // 20px
line-height: $base-line-height * 1.25;
}
@media screen and (min-width: 2560px) {
font-size: $base-font * 1.5; // 24px
line-height: $base-line-height * 1.5;
}
}