sapp iframe size (#1081)
* sapp iframe size * review changes * CenteredMT * remove className Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com>
This commit is contained in:
parent
0e3436bf67
commit
822903c83d
|
@ -18,7 +18,7 @@ const useStyles = makeStyles({
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
margin: '0 auto',
|
margin: '0 auto',
|
||||||
maxWidth: '100%',
|
maxWidth: '100%',
|
||||||
padding: `40px ${sm} 20px`,
|
padding: `20px ${sm} 20px`,
|
||||||
width: `${screenSm}px`,
|
width: `${screenSm}px`,
|
||||||
},
|
},
|
||||||
item: {
|
item: {
|
||||||
|
|
|
@ -3,8 +3,7 @@ import styled from 'styled-components'
|
||||||
export const Wrapper = styled.div`
|
export const Wrapper = styled.div`
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 245px auto;
|
grid-template-columns: 245px auto;
|
||||||
grid-template-rows: 514px;
|
min-height: 560px;
|
||||||
min-height: 525px;
|
|
||||||
.background {
|
.background {
|
||||||
box-shadow: 1px 2px 10px 0 rgba(212, 212, 211, 0.59);
|
box-shadow: 1px 2px 10px 0 rgba(212, 212, 211, 0.59);
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
|
|
@ -27,7 +27,7 @@ const APPS_STORAGE_KEY = 'APPS_STORAGE_KEY'
|
||||||
const APPS_LEGAL_DISCLAIMER_STORAGE_KEY = 'APPS_LEGAL_DISCLAIMER_STORAGE_KEY'
|
const APPS_LEGAL_DISCLAIMER_STORAGE_KEY = 'APPS_LEGAL_DISCLAIMER_STORAGE_KEY'
|
||||||
|
|
||||||
const StyledIframe = styled.iframe`
|
const StyledIframe = styled.iframe`
|
||||||
padding: 24px;
|
padding: 15px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -39,6 +39,10 @@ const Centered = styled.div`
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
`
|
`
|
||||||
|
|
||||||
|
const CenteredMT = styled(Centered)`
|
||||||
|
margin-top: 5px;
|
||||||
|
`
|
||||||
|
|
||||||
const IframeWrapper = styled.div`
|
const IframeWrapper = styled.div`
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -409,7 +413,7 @@ function Apps({ closeModal, closeSnackbar, enqueueSnackbar, openModal }) {
|
||||||
</Centered>
|
</Centered>
|
||||||
</Card>
|
</Card>
|
||||||
)}
|
)}
|
||||||
<Centered>
|
<CenteredMT>
|
||||||
<IconText
|
<IconText
|
||||||
color="secondary"
|
color="secondary"
|
||||||
iconSize="sm"
|
iconSize="sm"
|
||||||
|
@ -417,7 +421,7 @@ function Apps({ closeModal, closeSnackbar, enqueueSnackbar, openModal }) {
|
||||||
text="These are third-party apps, which means they are not owned, controlled, maintained or audited by Gnosis. Interacting with the apps is at your own risk."
|
text="These are third-party apps, which means they are not owned, controlled, maintained or audited by Gnosis. Interacting with the apps is at your own risk."
|
||||||
textSize="sm"
|
textSize="sm"
|
||||||
/>
|
/>
|
||||||
</Centered>
|
</CenteredMT>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue