Skip to content

Commit

Permalink
fix: announcement width (#4122)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg committed Jun 6, 2024
1 parent bc256ee commit f6ac4e5
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions frontend/web/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,21 +381,23 @@ const App = class extends Component {
/>
)}
{user && showBanner && (
<Row className={'px-3 mt-4'}>
<InfoMessage
title={announcementValue.title}
isClosable={announcementValue.isClosable}
close={() =>
this.closeAnnouncement(announcementValue.id)
}
buttonText={announcementValue.buttonText}
url={announcementValue.url}
>
<div>
<div>{announcementValue.description}</div>
</div>
</InfoMessage>
</Row>
<div className='container mt-4'>
<div className='row'>
<InfoMessage
title={announcementValue.title}
isClosable={announcementValue.isClosable}
close={() =>
this.closeAnnouncement(announcementValue.id)
}
buttonText={announcementValue.buttonText}
url={announcementValue.url}
>
<div>
<div>{announcementValue.description}</div>
</div>
</InfoMessage>
</div>
</div>
)}
{this.props.children}
</Fragment>
Expand Down

0 comments on commit f6ac4e5

Please sign in to comment.