diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2021-11-23 00:39:05 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2021-11-23 00:39:05 +0100 |
| commit | 8e5cbd481334579f3b9da6eb396d13bdef7b9210 (patch) | |
| tree | 72d44dd2902bdc240d246258989666d54f992606 /example/static/style/base.css | |
| parent | f10b50ae35ecae0c9fe7f55736f2c59101ed9064 (diff) | |
Improve thumbnails by keeping aspect ratio.
Not using scale-down as that would show backgrond placeholder in some
cases.
Diffstat (limited to 'example/static/style/base.css')
| -rw-r--r-- | example/static/style/base.css | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/static/style/base.css b/example/static/style/base.css index cdfbe23..f47e35a 100644 --- a/example/static/style/base.css +++ b/example/static/style/base.css @@ -30,6 +30,7 @@ img.thumbnail { background-size: contain; background-position: center; background-repeat: no-repeat; + object-fit: cover; } img.image { |
