Skip to content

Commit

Permalink
🐛 Fix: resolve the aspect ratio issue temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Nov 29, 2024
1 parent f66dc32 commit 582b96b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions assets/css/_page/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@

.featured-image-preview {
width: 100%;
// resolve the aspect ratio issue temporarily
max-width: 1000px;
// use the same proportions as the cover image of https://dev.to/
aspect-ratio: auto 1000 / 420;
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/init/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- .Scratch.Set "version" "v0.3.16-f0af9756" -}}
{{- .Scratch.Set "version" "v0.3.16-f66dc32e" -}}
{{- .Scratch.Set "this" dict -}}

{{- partial "init/detection-env.html" . -}}
Expand Down

0 comments on commit 582b96b

Please sign in to comment.