icon fix
Some checks failed
deploy to production / lighthouse-evaluation (push) Failing after 0s
deploy to production / deploy (push) Successful in 47s

This commit is contained in:
Robin Grenzdörfer 2024-07-11 19:23:20 +00:00
parent 2aef815c81
commit 527285a487

View File

@ -21,10 +21,7 @@
> >
<div class="header"> <div class="header">
<div class="icon"> <div class="icon">
<svg <img id="mySvgObject{i}" src="{`${apiBaseURL}content/${pageId}/${col.iconInfoBoard.icon?.src}`}" />
id="mySvgObject{i}"
fill="var(--link-font-color)"
data-src="{`${apiBaseURL}content/${pageId}/${col.iconInfoBoard.icon?.src}`}"></svg>
</div> </div>
<div class="title"> <div class="title">
{col.iconInfoBoard.title} {col.iconInfoBoard.title}
@ -49,9 +46,9 @@
align-items: center; align-items: center;
gap: 20px; gap: 20px;
.icon { .icon {
width: 64px; width: 48px;
height: 64px; height: 48px;
svg { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: contain; object-fit: contain;