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;
|
||||
}
|
||||
|
||||
.algoliaSvg {
|
||||
display: inline-block;
|
||||
width: 92px;
|
||||
height: 24px;
|
||||
fill: currentColor;
|
||||
vertical-align: -0.125em;
|
||||
.max-width-200 {
|
||||
max-width: 200px;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue