Skip to content

Commit

Permalink
Fix: chart labels from overflow (#4824)
Browse files Browse the repository at this point in the history
  • Loading branch information
djbarnwal authored and ericpgreen2 committed May 5, 2024
1 parent 89350b3 commit 97f6eae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

<style lang="postcss">
.chart-type-selector {
@apply flex ml-auto overflow-hidden mr-2;
@apply flex ml-auto overflow-hidden mr-4;
@apply border border-primary-300 divide-x divide-primary-300 rounded-sm;
}
.chart-icon-wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ A container GraphicContext for the time series in a metrics dashboard.
export let enableFullWidth = false;
const paddingForFullWidth = 80;
$: paddingRight = enableFullWidth ? "pr-6" : "pr-2";
</script>

<div class={`max-w-full h-fit flex flex-col max-h-full ${paddingRight}`}>
<div class="max-w-full h-fit flex flex-col max-h-full pr-2">
<GraphicContext
bottom={4}
height={enableFullWidth
Expand Down

1 comment on commit 97f6eae

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.