fix(web): Ensure font awesome icons have fixed width

This commit is contained in:
Luke committed 2022-04-16 12:08:55 +02:00
1 parent 66f9460729
commit e46fa203ca
2 files changed
+3 -1

No files matched your search

@@ -85,6 +85,7 @@ const Notifications: React.FC = () => {
<HStack spacing={0}>
{data.icon && (
<FontAwesomeIcon
fixedWidth
icon={data.icon}
fontSize="1.3em"
style={{ paddingRight: 8 }}
+2 -1
View File
@@ -68,10 +68,11 @@ const TextUI: React.FC = () => {
<Flex justifyContent="center" alignItems="center">
{data.icon && (
<FontAwesomeIcon
fixedWidth
icon={data.icon}
color={data.iconColor}
fontSize="1.4rem"
style={{ paddingRight: 15 }}
style={{ paddingRight: 8 }}
/>
)}
<ReactMarkdown>{data.text}</ReactMarkdown>