Skip to content

Commit

Permalink
fix: adjust photo carousel margins in Place Overview
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 580706930
  • Loading branch information
Extended Component Library Team authored and copybara-github committed Nov 9, 2023
1 parent 3c5682c commit c791ad5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/place_overview/place_overview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,11 @@ export class PlaceOverview extends BaseComponent {
}
.carousel {
display: flex;
line-height: normal;
margin-inline-end: ${getTypeScaleSizeFromPx(-20)};
margin-inline: ${getTypeScaleSizeFromPx(-20)};
overflow-x: auto;
padding-inline: ${getTypeScaleSizeFromPx(20)};
white-space: nowrap;
}
Expand All @@ -218,7 +220,7 @@ export class PlaceOverview extends BaseComponent {
background-color: #7d7d7d;
}
.carousel .gallery::part(tile) {
.carousel.gallery::part(tile) {
height: ${getTypeScaleSizeFromPx(134)};
width: ${getTypeScaleSizeFromPx(142)};
}
Expand Down

0 comments on commit c791ad5

Please sign in to comment.