This commit is contained in:
Virginie Ky 2019-07-16 15:06:42 +02:00
parent 752786a01e
commit ae1c622eda
4 changed files with 29 additions and 10 deletions

View File

@ -13,7 +13,7 @@ const ListWrapper = styled.div`
overflow-x: scroll; overflow-x: scroll;
} }
.list-button { .list-button {
padding: 1rem 3rem 2.5rem 3rem; padding: 1.4rem 3rem 2.5rem 3rem;
button { button {
width: 100%; width: 100%;
} }

View File

@ -7,7 +7,7 @@
max-width: 92.1rem !important; max-width: 92.1rem !important;
margin-left: auto !important; margin-left: auto !important;
margin-right: auto !important; margin-right: auto !important;
margin-top: 14rem !important; margin-top: 12.7rem !important;
> div { > div {
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;

View File

@ -1,5 +1,16 @@
.homePage { /* stylelint-disable */ .homePage {
/* stylelint-disable */
padding: 1.8rem 3rem; padding: 1.8rem 3rem;
background: rgba(14,22,34,0.02); background: rgba(14, 22, 34, 0.02);
min-height: calc(100vh - 6rem); // TODO shoukd be variable min-height: calc(100vh - 6rem); // TODO shoukd be variable
:not(table) {
div {
button {
top: 2.3rem;
& + p:first-of-type {
margin-top: 4px;
}
}
}
}
} }

View File

@ -13,12 +13,20 @@ const StyledViewContainer = styled.div`
background-color: ${colors.greyOpacity}; background-color: ${colors.greyOpacity};
.components-container { .components-container {
padding: 1.8rem 1.5rem 0 1.5rem; padding: 1.8rem 1.5rem 0 1.5rem;
} div div:not(.list-button) {
.list-header-title { button {
p { top: 1.8rem;
width: fit-content; }
display: inline-block; }
margin-bottom: 0; .list-header-title {
& + p {
margin-bottom: 0.7rem;
}
p {
width: fit-content;
display: inline-block;
margin-bottom: 0;
}
} }
} }
`; `;