Merge pull request #1259 from AdamTuraj/main

Fix color issue with banner
This commit is contained in:
Max Wofford 2024-06-29 21:48:25 +00:00 committed by GitHub
commit b9860dcd37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,18 +53,16 @@ const Announcement = ({
/>
)}
{imgSrc && (
<Box sx={{ mr: [2,3], ml: 2, width: 32, flexShrink: 0 }}>
<Image
src={imgSrc}
alt={imgAlt}
width={32}
height={32}
/>
<Box sx={{ mr: [2, 3], ml: 2, width: 32, flexShrink: 0 }}>
<Image src={imgSrc} alt={imgAlt} width={32} height={32} />
</Box>
)}
<Text
as="p"
sx={{ flex: '1 1 auto', strong: { display: ['inline', 'block'] } }}
sx={{
flex: '1 1 auto',
strong: { display: ['inline', 'block'], color: 'secondary' }
}}
>
<strong>{copy}</strong>
{caption && (