Numerous style updates to keep image sizes from getting out of hand

pull/22/head
Cobular 3 years ago
parent 7650603bbd
commit a1e25abca1
No known key found for this signature in database
GPG Key ID: 8A55E11B548F0594

@ -202,10 +202,22 @@ $breakpoints: (x-small: 520px, small: 760px, medium: 1100px, large: 1400px, x-la
flex-direction: column; flex-direction: column;
width: available; width: available;
.image {
margin-bottom: 5px;
width: 100%;
max-width: 225px;
}
img { img {
width: 100%; width: 100%;
margin-bottom: 5px; margin-bottom: 5px;
} }
.GridElementInternal {
display: flex;
flex-direction: column;
align-items: center;
}
} }
.Medium { .Medium {
@ -214,10 +226,18 @@ $breakpoints: (x-small: 520px, small: 760px, medium: 1100px, large: 1400px, x-la
margin-bottom: 5px; margin-bottom: 5px;
} }
.image {
max-width: 225px;
}
@include media("<medium") { @include media("<medium") {
.GridElementInternal {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: available; width: available;
align-items: center;
}
img { img {
width: 100%; width: 100%;
@ -299,6 +319,7 @@ $breakpoints: (x-small: 520px, small: 760px, medium: 1100px, large: 1400px, x-la
background: var(--chainlink-icon-background); background: var(--chainlink-icon-background);
border-radius: 5px; border-radius: 5px;
} }
svg { svg {
fill: var(--chainlink-icon-color); fill: var(--chainlink-icon-color);
} }

Loading…
Cancel
Save