mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
fixed styles
This commit is contained in:
parent
4e18eba558
commit
9b52ff10e5
35 changed files with 12539 additions and 2896 deletions
|
@ -43,6 +43,6 @@ export const Fills = () => (
|
|||
<path d="m 2.625,3.375 h 7.5 L 10.28125,1.609375 13.5,4.25 10.484375,6.921875 10.171875,5.15625 2.625,5.125 Z" fill="#ff3344" fillRule="evenodd" />
|
||||
</g>
|
||||
</defs>
|
||||
<image xlinkHref={require('~/sprites/stickers/stickers-base.svg')} width={0} height={0} />
|
||||
<image xlinkHref="/images/stickers-base.svg" width={0} height={0} />
|
||||
</svg>
|
||||
);
|
||||
|
|
|
@ -4,7 +4,7 @@ export const Icon = memo(({ icon, size = 32 }: { icon: string; size?: number })
|
|||
<svg width={size} height={size} viewBox="0 0 32 32">
|
||||
<defs>
|
||||
<mask id={`icon-mask-${icon}`}>
|
||||
<use xlinkHref={`${require('~/sprites/icon.svg')}#${icon}`} x={0} y={0} />
|
||||
<use xlinkHref={`/images/icon.svg#${icon}`} x={0} y={0} />
|
||||
</mask>
|
||||
</defs>
|
||||
<rect x="0" y="0" width="32" height="32" stroke="none" mask={`url(#icon-mask-${icon})`} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue