Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix latest data insights styles #4298

Merged
merged 3 commits into from
Dec 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions 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 All @@ -103,6 +107,7 @@ html:not(.js-enabled) .latest-data-insights__card,
flex-direction: column;
height: 100%;
min-height: 0;
overflow: hidden;
}

.latest-data-insights__card-body {
Expand All @@ -123,6 +128,7 @@ html:not(.js-enabled) .latest-data-insights__card,
);
}
}

.latest-data-insights__card-continue {
@include body-3-medium;

Expand Down Expand Up @@ -209,10 +215,8 @@ html:not(.js-enabled) .latest-data-insights__card,

.latest-data-insights__dot {
background-color: $blue-30;
touch-action: manipulation;
display: inline-flex;
text-decoration: none;
cursor: pointer;
border: 0;
padding: 0;
margin: 0;
Expand Down
Loading