Skip to content

Commit

Permalink
Fix wrong spacing on homepage in Chrome
Browse files Browse the repository at this point in the history
Fix #95
  • Loading branch information
sebastienbarbier committed Oct 3, 2023
1 parent abb18a0 commit 0298db2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ See for sample https://raw.githubusercontent.com/favoloso/conventional-changelog
## [2.2.2] - 2023-10-03
### 🐛 Bug Fixes
- Fix wrong description within resume (#94)
- Fix wrong spacing on homepage in Chrome (#95)

## [2.2.1] - 2023-09-27
### 🛠 Improvements
Expand Down
4 changes: 2 additions & 2 deletions src/app/home/home.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ header {
align-items: align-items;
justify-content: center;

min-height: 100vh;
min-height: -webkit-fill-available;
height: 100vh;
max-height: -webkit-fill-available;

@include for-tablet-landscape-down {
justify-content: flex-end;
Expand Down
1 change: 0 additions & 1 deletion src/assets/scss/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@
font-display: swap;
}


@font-face {
font-family: "Source Serif Variable";
src: url("../fonts/SourceSerif4/SourceSerif4-VariableFont_opsz,wght.ttf") format("truetype-variations");
Expand Down
4 changes: 2 additions & 2 deletions src/assets/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $zindex_navigation: 100;
font-family: 'Open Sans', Helvetica, sans-serif;
// If browser support variableFonts, use it
@supports (font-variation-settings: "wdth" 115) {
font-family: 'Open Sans Variable', Helvetica, sans-serif;
font-family: 'Open Sans Variable', 'Open Sans', Helvetica, sans-serif;
}
}

Expand All @@ -43,7 +43,7 @@ $zindex_navigation: 100;
font-variation-settings: 'opsz' 24;
// If browser support variableFonts, use it
@supports (font-variation-settings: "wdth" 115) {
font-family: 'Source Serif Variable', Arial, serif;
font-family: 'Source Serif Variable', 'Source Serif', Arial, serif;
}
}

Expand Down

0 comments on commit 0298db2

Please sign in to comment.