Browse Source
Fix modals gradient box hiding the modal footer border
master
meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
4 changed files with
6 additions and
6 deletions
-
src/components/GradientBox.js
-
src/components/modals/OperationDetails.js
-
src/components/modals/ReleaseNotes.js
-
src/components/modals/UpdateFirmware/Disclaimer.js
|
|
@ -5,10 +5,10 @@ export default styled.div` |
|
|
|
width: 100%; |
|
|
|
height: 60px; |
|
|
|
position: absolute; |
|
|
|
bottom: 68px; |
|
|
|
bottom: 0; |
|
|
|
left: 0; |
|
|
|
right: 0; |
|
|
|
background: linear-gradient(rgba(255, 255, 255, 0), #ffffff 70%); |
|
|
|
background: linear-gradient(rgba(255, 255, 255, 0), #ffffff); |
|
|
|
z-index: 2; |
|
|
|
pointer-events: none; |
|
|
|
` |
|
|
|
|
|
@ -129,7 +129,7 @@ const OperationDetails = connect(mapStateToProps)((props: Props) => { |
|
|
|
return ( |
|
|
|
<ModalBody onClose={onClose}> |
|
|
|
<ModalTitle>{t('app:operationDetails.title')}</ModalTitle> |
|
|
|
<ModalContent style={{ height: 500 }} mx={-5} pb={0}> |
|
|
|
<ModalContent relative style={{ height: 500 }} px={0} pb={0}> |
|
|
|
<GrowScroll px={5} pt={1} pb={8}> |
|
|
|
<Box flow={3}> |
|
|
|
<Box alignItems="center" mt={1}> |
|
|
|
|
|
@ -221,7 +221,7 @@ class ReleaseNotes extends PureComponent<Props, State> { |
|
|
|
return ( |
|
|
|
<ModalBody onClose={onClose}> |
|
|
|
<ModalTitle>{t('app:releaseNotes.title')}</ModalTitle> |
|
|
|
<ModalContent style={{ height: 500 }} mx={-5} pb={0}> |
|
|
|
<ModalContent relative style={{ height: 500 }} px={0} pb={0}> |
|
|
|
<GrowScroll px={5} pb={8}> |
|
|
|
{content} |
|
|
|
</GrowScroll> |
|
|
|
|
|
@ -58,8 +58,8 @@ class DisclaimerModal extends PureComponent<Props, State> { |
|
|
|
{t('app:manager.firmware.disclaimerAppReinstall')} |
|
|
|
</Text> |
|
|
|
</ModalContent> |
|
|
|
<ModalContent style={{ height: 250, width: '100%' }}> |
|
|
|
<GrowScroll> |
|
|
|
<ModalContent relative pb={0} style={{ height: 250, width: '100%' }}> |
|
|
|
<GrowScroll pb={5}> |
|
|
|
<Notes> |
|
|
|
<ReactMarkdown>{firmware.notes}</ReactMarkdown> |
|
|
|
</Notes> |
|
|
|