Skip to content

Commit

Permalink
chore: Fix accidental margin on non-fit-height charts (#2878)
Browse files Browse the repository at this point in the history
  • Loading branch information
gethinwebster authored Oct 16, 2024
1 parent 824ac05 commit 7ff5589
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/internal/components/cartesian-chart/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,11 @@
.chart-container-outer {
display: flex;

&:not(.axis-label + &, &.has-filters) {
margin-block-start: calc(0.5 * #{awsui.$font-chart-detail-size});
}

&.fit-height {
flex: 1;
&:not(.axis-label + &, &.has-filters) {
margin-block-start: calc(0.5 * #{awsui.$font-chart-detail-size});
}
}
}

Expand Down

0 comments on commit 7ff5589

Please sign in to comment.