From eb3d8650db5e378f76b8c655306fd180e510e883 Mon Sep 17 00:00:00 2001 From: Nico Rey Date: Sun, 3 Jan 2021 22:19:28 -0300 Subject: [PATCH] Maintain aspect ratio --- templates/webpanel/style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/webpanel/style.css b/templates/webpanel/style.css index e17a0bb..fd2e170 100644 --- a/templates/webpanel/style.css +++ b/templates/webpanel/style.css @@ -73,6 +73,7 @@ body { max-width: 200px; max-height: 200px; width: 100%; + object-fit: cover; } #satimgdiv { @@ -96,4 +97,4 @@ footer { img.img-footer { max-width: 100%; -} \ No newline at end of file +}