refactor: Relates to #1060. Consistent top padding across apps (#1077)

* refactor: Relates to #1060. Remove min-height and padding-top from CardSummary for consistent top padding

* fix: Increase top padding across apps

* feat: Add shorter height on mobile devices

* review-fix: Reduce margin between tab items and contents
This commit is contained in:
Luke Schoen 2019-05-03 18:08:39 +02:00 committed by Jaco Greeff
parent ac818835db
commit edce456d15
3 changed files with 8 additions and 5 deletions

View File

@ -34,11 +34,11 @@ const Wrapper = styled.div`
min-height: 100vh;
header {
margin-bottom: 0.8rem;
margin-bottom: 1.4rem;
text-align: center;
${media.TABLET`
margin-bottom: 1.1rem;
margin-bottom: 2rem;
`}
}
`;

View File

@ -22,8 +22,7 @@ const Card = styled.article`
flex: 0 1 auto;
flex-flow: row wrap;
justify-content: flex-end;
min-height: 5.7rem;
padding: 0.5rem 1.5rem;
padding: 0rem 1.5rem 0.5rem 1.5rem;
> div {
font-size: 2.1rem;

View File

@ -17,7 +17,7 @@ const StyledSummary = styled.div`
display: flex;
flex-wrap: no-wrap;
justify-content: space-between;
margin-bottom: 2.5em;
margin-bottom: 1.4rem;
> section {
display: flex;
@ -49,6 +49,10 @@ const StyledSummary = styled.div`
}
}
@media(min-width: 768px) {
margin-bottom: 2.8rem;
}
.ui.label {
padding-left: 0;
padding-right: 0;