mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 14:58:47 +00:00
Fix maxWidth / maxHeight style attrs
This commit is contained in:
parent
f3a22b057b
commit
2ab05350a3
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ export default function ResolvedIcon({ icon }) {
|
|||
style={{
|
||||
width: 32,
|
||||
height: 32,
|
||||
'max-width': '100%',
|
||||
'max-height': '100%',
|
||||
maxWidth: '100%',
|
||||
maxHeight: '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`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue