From 60938f3e19a937a2d236dd22d7e3a2b000c5fbbe Mon Sep 17 00:00:00 2001 From: NexusXe Date: Fri, 24 Jun 2022 18:07:56 -0500 Subject: [PATCH] Fix improper image border scaling Previously, the rounded image border would not scale properly with different aspect ratios as the img object changed its own aspect ratio --- assets/css/common/profile-mode.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assets/css/common/profile-mode.css b/assets/css/common/profile-mode.css index 6826d960..0b1081a6 100644 --- a/assets/css/common/profile-mode.css +++ b/assets/css/common/profile-mode.css @@ -18,6 +18,13 @@ display: inline-table; border-radius: 50%; pointer-events: none; + width: auto; + height: auto; + border-radius: 50%; + pointer-events: none; + -webkit-border-radius: 50%; + -moz-border-radius: 50%; + overflow: hidden; } .buttons {