Skip to content
Snippets Groups Projects
Commit 2cb26cca authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

fix(ui): ecogestures spacing

parent 191d82a1
No related branches found
No related tags found
1 merge request!1263feat(ui)!: new design
...@@ -9,7 +9,6 @@ const CardBase = withStyles({ ...@@ -9,7 +9,6 @@ const CardBase = withStyles({
root: { root: {
background: 'var(--grey-1)', background: 'var(--grey-1)',
boxSizing: 'border-box', boxSizing: 'border-box',
boxShadow: '0px 4px 16px black',
borderRadius: '4px', borderRadius: '4px',
padding: '0.5rem 1rem', padding: '0.5rem 1rem',
minHeight: '72px', minHeight: '72px',
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
padding: 1rem 1.5rem 2.5rem 1.5rem; padding: 1rem 1.5rem 2.5rem 1.5rem;
gap: 1rem; gap: 1rem;
.efficiency-button-content { .efficiency-button-content {
max-width: 52rem; max-width: 53rem;
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -66,9 +66,8 @@ ...@@ -66,9 +66,8 @@
height: 8rem; height: 8rem;
animation: appear 600ms ease; animation: appear 600ms ease;
display: flex; display: flex;
flex: 1; flex: 1 0 calc(50% - 2 * 5px); // two elements per row
flex-basis: 45%; max-width: calc(50% - 5px);
max-width: 48%;
} }
.ecogesture-list-item > button { .ecogesture-list-item > button {
height: 100%; height: 100%;
......
...@@ -16,6 +16,9 @@ ...@@ -16,6 +16,9 @@
padding-top: 16px; padding-top: 16px;
display: flex; display: flex;
justify-content: center; justify-content: center;
width: 100%;
max-width: 53rem;
margin-inline: auto;
button { button {
height: auto; height: auto;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment