From 4bf91c777206c4393fc0e93c0be0063b8460d685 Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Tue, 12 Sep 2023 02:09:18 +0900 Subject: [PATCH] clamp zoomed avatar widths to 400px as base --- public/style.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/style.css b/public/style.css index daa55b596..65a947656 100644 --- a/public/style.css +++ b/public/style.css @@ -3413,7 +3413,8 @@ a { min-height: 100px; max-height: 90vh; max-width: 90vh; - width: calc((100vw - var(--sheldWidth)) /2); + width: clamp(100px, 400px, calc((100vw - var(--sheldWidth)) /2)); + /* width: calc((100vw - var(--sheldWidth)) /2); */ position: absolute; padding: 0; filter: drop-shadow(2px 2px 2px var(--grey7070a)); @@ -3616,4 +3617,4 @@ a { height: 100vh; z-index: 9999; } -} +} \ No newline at end of file