mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-07 07:05:06 +00:00
fix(web): Ensure font awesome icons have fixed width
This commit is contained in:
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 }}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user