-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1237 from MHRA/addNoticeToWeb
Adding notice on main webpage for an issue
- Loading branch information
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,20 @@ exports[`SearchWrapper should render 1`] = ` | |
<div | ||
className="sc-papXJ fXFsBZ" | ||
> | ||
<div | ||
className="sc-kDDrLX eBvGpy" | ||
> | ||
<b> | ||
*STATUS UPDATE* | ||
</b> | ||
We apologise for any inconvenience as we are currently experiencing technical difficulties with adding, updating or deleting all SPCs and PILs. When this message is no longer displayed the issue will have been resolved. | ||
</div> | ||
<div | ||
className="sc-iqcoie efKhbN" | ||
> | ||
If Product Information documents are urgently required, please send a request to: [email protected] | ||
</div> | ||
<section | ||
className="search" | ||
> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,15 @@ const AccessibleSearchBoxHeading = styled.h2` | |
height: 0; | ||
margin: 0; | ||
`; | ||
const Notice = styled.div` | ||
width: 100%; | ||
padding: 0.5rem 0rem 0rem 0rem; | ||
`; | ||
|
||
const Notice2 = styled.div` | ||
width: 100%; | ||
padding: 0.5rem 0rem 1.5rem 0rem; | ||
`; | ||
|
||
interface ISearchWrapperProps { | ||
initialSearchValue: string | string[]; | ||
|
@@ -92,8 +101,15 @@ const SearchWrapper: React.FC<ISearchWrapperProps> = (props) => { | |
}); | ||
}; | ||
|
||
return ( | ||
return ( | ||
<StyledSearchWrapper> | ||
<Notice> <b>*STATUS UPDATE*</b> | ||
We apologise for any inconvenience as we are currently experiencing technical difficulties with adding, updating or deleting all SPCs and PILs. When this message is no longer displayed the issue will have been resolved. | ||
</Notice> | ||
<Notice2> | ||
If Product Information documents are urgently required, please send a request to: [email protected] | ||
</Notice2> | ||
|
||
<section className="search"> | ||
<AccessibleSearchBoxHeading>Search box</AccessibleSearchBoxHeading> | ||
<Search | ||
|