diff options
| author | Robert Günzler <r@gnzler.io> | 2025-04-29 18:40:55 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2025-04-29 18:40:55 +0200 |
| commit | fe9e8e3c9dc83dc59bbd00c24466e4e3330fe8ad (patch) | |
| tree | 546a577757b364de71f60f4bc9f368b0521e889b | |
| parent | fd2d54998cbd68e28c1b544dff1526590c518186 (diff) | |
| download | site-fe9e8e3c9dc83dc59bbd00c24466e4e3330fe8ad.tar.gz | |
fix image sizing when using size-* classes
Signed-off-by: Robert Günzler <r@gnzler.io>
| -rw-r--r-- | links/main.css | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/links/main.css b/links/main.css index 78f0f12..d186725 100644 --- a/links/main.css +++ b/links/main.css @@ -126,8 +126,8 @@ main hr { } main img { - width: 100%; - max-width: 700px; + max-width: 100%; + object-fit: contain; } main>q { @@ -344,17 +344,14 @@ ul.nobull li { } .size-s { - width: auto; max-height: 150px; } .size-m { - width: auto; max-height: 220px; } .size-l { - width: auto; max-height: 400px; } |