Skip to content

Commit 6764256

Browse files
committed
style(css): image height from fit-content to auto
- Replace height: fit-content with height: auto for img and picture elements - Improves cross-browser compatibility as fit-content has limited support in older browsers - Auto height maintains aspect ratio while being more widely supported
1 parent 5f0a471 commit 6764256

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<link
88
rel="stylesheet"
9-
href="/styles.68cf693bba64eaf21cb32981c3d614b95931db5b7dc705b73d434716057f111f.css"
9+
href="/styles.5cf5928682e5eb162fa4d3ed4b9bc7e470c7e9278665dd2001ddc06f82225f24.css"
1010
type="text/css"
1111
/>
1212
<link

styles.68cf693bba64eaf21cb32981c3d614b95931db5b7dc705b73d434716057f111f.css renamed to styles.5cf5928682e5eb162fa4d3ed4b9bc7e470c7e9278665dd2001ddc06f82225f24.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ h6 {
409409
img,
410410
picture {
411411
max-width: 100%;
412-
height: fit-content;
412+
height: auto;
413413
display: block;
414414
}
415415

0 commit comments

Comments
 (0)