Merge pull request #791 from gnosis/issue-773

(Enhancement) #773 Scroll bar in tabs that are not necessary
This commit is contained in:
Agustín Longoni 2020-04-22 17:55:09 -03:00 committed by GitHub
commit 85f65f6216
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 15 deletions

View File

@ -12,15 +12,15 @@ export const Wrapper = styled.div`
background-color: white; background-color: white;
} }
` `
// export const Nav = styled.div` export const Nav = styled.div`
// grid-column: 1/3; grid-column: 1/3;
// grid-row: 1; grid-row: 1;
// margin: 8px 0; margin: 0;
// padding: 16px 0; padding: 16px 0;
// box-sizing: border-box; box-sizing: border-box;
// display: flex; display: flex;
// justify-content: flex-end; justify-content: flex-end;
// ` `
export const Menu = styled.div.attrs(() => ({ className: 'background' }))` export const Menu = styled.div.attrs(() => ({ className: 'background' }))`
grid-column: 1; grid-column: 1;

View File

@ -2,12 +2,12 @@
display: flex; display: flex;
flex: 1 0 auto; flex: 1 0 auto;
flex-direction: column; flex-direction: column;
padding: 135px 200px 0px 200px; padding: 96px 200px 0px 200px;
} }
@media only screen and (max-width: $(screenLg)px) { @media only screen and (max-width: $(screenLg)px) {
.page { .page {
padding: 135px $lg 0px $lg; padding: 72px $lg 0px $lg;
} }
} }

View File

@ -3,7 +3,7 @@ import { lg, marginButtonImg, md, sm } from '~/theme/variables'
export const styles = () => ({ export const styles = () => ({
formContainer: { formContainer: {
minHeight: '420px', minHeight: '250px',
}, },
title: { title: {
padding: lg, padding: lg,
@ -52,7 +52,6 @@ export const styles = () => ({
cursor: 'default', cursor: 'default',
}, },
message: { message: {
margin: `${sm} 0`,
padding: `${md} 0`, padding: `${md} 0`,
maxHeight: '54px', maxHeight: '54px',
boxSizing: 'border-box', boxSizing: 'border-box',

View File

@ -119,7 +119,6 @@ export const styles = () => ({
position: 'relative', position: 'relative',
}, },
message: { message: {
margin: `${sm} 0`,
padding: `${md} 0`, padding: `${md} 0`,
maxHeight: '54px', // to make it the same as row in Balances component maxHeight: '54px', // to make it the same as row in Balances component
boxSizing: 'border-box', boxSizing: 'border-box',

View File

@ -1,7 +1,7 @@
// @flow // @flow
export const styles = () => ({ export const styles = () => ({
container: { container: {
marginTop: '70px', marginTop: '56px',
}, },
row: { row: {
cursor: 'pointer', cursor: 'pointer',