mirror of https://gitee.com/answerdev/answer.git
fix: search plugin icon add max-width
This commit is contained in:
parent
a5263adfbb
commit
1f9b7c5c6a
|
@ -322,10 +322,6 @@ img[src=""] {
|
||||||
vertical-align: -0.125em;
|
vertical-align: -0.125em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.algoliaSvg {
|
.max-width-200 {
|
||||||
display: inline-block;
|
max-width: 200px;
|
||||||
width: 92px;
|
|
||||||
height: 24px;
|
|
||||||
fill: currentColor;
|
|
||||||
vertical-align: -0.125em;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ const Index: FC = () => {
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer">
|
rel="noopener noreferrer">
|
||||||
<span className="small text-secondary me-2">{t('search_by')}</span>
|
<span className="small text-secondary me-2">{t('search_by')}</span>
|
||||||
<SvgIcon base64={data?.icon} />
|
<SvgIcon base64={data?.icon} svgClassName="max-width-200" />
|
||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue