🐛 Fix: resolve the aspect ratio issue temporarily

This commit is contained in:
Cell
2024-11-29 14:53:12 +08:00
parent f66dc32ec2
commit 582b96b8ef
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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;
+1 -1
View File
@@ -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" . -}}