torrent source regex added

This commit is contained in:
Daniel Shleifman
2021-06-09 20:38:00 +03:00
parent 388416289e
commit dcc7061c19
5 changed files with 27 additions and 8 deletions

View File

@@ -30,7 +30,7 @@ export const RightSide = styled.div`
`
export const RightSideContainer = styled.div`
${({ isHidden, notificationMessage }) => css`
${({ isHidden, notificationMessage, isError }) => css`
height: 455px;
${notificationMessage &&
@@ -44,7 +44,7 @@ export const RightSideContainer = styled.div`
content: '${notificationMessage}';
display: grid;
place-items: center;
background: #84cda7;
background: ${isError ? '#cda184' : '#84cda7'};
padding: 10px 15px;
position: absolute;
top: 50%;