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',
|
||||
margin: '0 auto',
|
||||
maxWidth: '100%',
|
||||
padding: `40px ${sm} 20px`,
|
||||
padding: `20px ${sm} 20px`,
|
||||
width: `${screenSm}px`,
|
||||
},
|
||||
item: {
|
||||
|
|
|
@ -3,8 +3,7 @@ import styled from 'styled-components'
|
|||
export const Wrapper = styled.div`
|
||||
display: grid;
|
||||
grid-template-columns: 245px auto;
|
||||
grid-template-rows: 514px;
|
||||
min-height: 525px;
|
||||
min-height: 560px;
|
||||
.background {
|
||||
box-shadow: 1px 2px 10px 0 rgba(212, 212, 211, 0.59);
|
||||
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 StyledIframe = styled.iframe`
|
||||
padding: 24px;
|
||||
padding: 15px;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
@ -39,6 +39,10 @@ const Centered = styled.div`
|
|||
flex-direction: column;
|
||||
`
|
||||
|
||||
const CenteredMT = styled(Centered)`
|
||||
margin-top: 5px;
|
||||
`
|
||||
|
||||
const IframeWrapper = styled.div`
|
||||
position: relative;
|
||||
height: 100%;
|
||||
|
@ -409,7 +413,7 @@ function Apps({ closeModal, closeSnackbar, enqueueSnackbar, openModal }) {
|
|||
</Centered>
|
||||
</Card>
|
||||
)}
|
||||
<Centered>
|
||||
<CenteredMT>
|
||||
<IconText
|
||||
color="secondary"
|
||||
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."
|
||||
textSize="sm"
|
||||
/>
|
||||
</Centered>
|
||||
</CenteredMT>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue