From 57fef06931c0e90e35c2d663e6e0eab0806461f2 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 5 Nov 2022 01:27:04 -0700 Subject: [PATCH] fix resolved icon mdi icon overflow --- src/components/resolvedicon.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/resolvedicon.jsx b/src/components/resolvedicon.jsx index d5aa8c880..d973ab4b2 100644 --- a/src/components/resolvedicon.jsx +++ b/src/components/resolvedicon.jsx @@ -14,6 +14,8 @@ export default function ResolvedIcon({ icon }) { style={{ width: 32, height: 32, + 'max-width': '100%', + 'max-height': '100%', background: "linear-gradient(180deg, rgb(var(--color-logo-start)), rgb(var(--color-logo-stop)))", mask: `url(https://cdn.jsdelivr.net/npm/@mdi/svg@latest/svg/${iconName}.svg) no-repeat center / contain`, WebkitMask: `url(https://cdn.jsdelivr.net/npm/@mdi/svg@latest/svg/${iconName}.svg) no-repeat center / contain`,