duplikat dari
https://github.com/karl0ss/homepage.git
synced 2025-07-01 21:59:08 +01:00
fix resolved icon mdi icon overflow
This commit is contained in:
orang tua
5fd5762c0c
melakukan
57fef06931
@ -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`,
|
||||
|
Memuat…
x
Reference in New Issue
Block a user