fix: t2c settings dialog spacing for apps that use CSS resets (#7337)

This commit is contained in:
David Luzar 2023-11-24 16:32:00 +01:00 committed by GitHub
parent 3d1631f375
commit fda5c6fdf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 45 additions and 31 deletions

View file

@ -0,0 +1,15 @@
export const InlineIcon = ({ icon }: { icon: JSX.Element }) => {
return (
<span
style={{
width: "1em",
margin: "0 0.5ex 0 0.5ex",
display: "inline-block",
lineHeight: 0,
verticalAlign: "middle",
}}
>
{icon}
</span>
);
};