fix: search plugin icon add max-width

This commit is contained in:
shuai 2023-09-26 18:11:24 +08:00
parent a5263adfbb
commit 1f9b7c5c6a
2 changed files with 3 additions and 7 deletions

View File

@ -322,10 +322,6 @@ img[src=""] {
vertical-align: -0.125em;
}
.algoliaSvg {
display: inline-block;
width: 92px;
height: 24px;
fill: currentColor;
vertical-align: -0.125em;
.max-width-200 {
max-width: 200px;
}

View File

@ -31,7 +31,7 @@ const Index: FC = () => {
target="_blank"
rel="noopener noreferrer">
<span className="small text-secondary me-2">{t('search_by')}</span>
<SvgIcon base64={data?.icon} />
<SvgIcon base64={data?.icon} svgClassName="max-width-200" />
</a>
);
};