Skip to content

Commit

Permalink
Set aspect ratio to hero images from comparison pages to prevent imag…
Browse files Browse the repository at this point in the history
…e loading shift
  • Loading branch information
Breno committed Oct 10, 2024
1 parent bfead6e commit 254861e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/EtlToolsPage/SectionOne/styles.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
.rightColumn {
max-width: 496px;
width: 100%;
aspect-ratio: 1 / 1;
position: relative;

div:not(:first-of-type) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

.rightColumn {
max-width: 536px;
aspect-ratio: 15 / 9;
width: 100%;
position: relative;
}
Expand Down

0 comments on commit 254861e

Please sign in to comment.