From 4c481b5dfc87ccc6c294b7a123bc6a09aa5d62db Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 30 Nov 2019 10:06:03 +0000 Subject: [PATCH] Image object fit --- epicyon-profile.css | 5 +++++ webinterface.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index 3e1ac864..e09982ea 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -68,6 +68,11 @@ a:link { font-weight: bold; } +.fill {object-fit: fill;} +.contain {object-fit: contain;} +.cover {object-fit: cover;} +.scale-down {object-fit: scale-down;} + .cwText { display: none; } diff --git a/webinterface.py b/webinterface.py index 8f66d6f5..0573a7f7 100644 --- a/webinterface.py +++ b/webinterface.py @@ -2347,7 +2347,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \ if boxName=='tlmedia': galleryStr+='