Skip to content

Commit

Permalink
Fix stretched DI images on a small screen
Browse files Browse the repository at this point in the history
  • Loading branch information
rakyi committed Dec 13, 2024
1 parent 100aa78 commit 00b3ff5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion site/gdocs/components/LatestDataInsights.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,18 @@ html:not(.js-enabled) .latest-data-insights__card,

.latest-data-insights__card-left {
display: flex;
height: 100%;

picture {
display: flex; // Fix extra padding at the bottom.
}

img {
height: 100%;
width: auto;
max-width: initial;

@include md-down {
height: auto;
max-width: 100%;
}
}
Expand Down

0 comments on commit 00b3ff5

Please sign in to comment.