Skip to content

Commit 9edf31b

Browse files
committed
More attempts at CSS image width fixes
1 parent ff2cdc2 commit 9edf31b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2024-08-08-Pedalboard-Version-2.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ tags: guitar
77
img.left, img.right {
88
width: min-content;
99
object-fit: contain;
10+
height: 12em;
11+
aspect-ratio: 25/40 auto;
1012
}
1113

1214
img.left {
13-
height: 12em;
1415
float: left;
1516
margin-right: 1em;
1617
}
1718

1819
img.right {
19-
height: 12em;
2020
float: right;
2121
margin-left: 1em;
2222
}

0 commit comments

Comments
 (0)