Skip to content

Commit

Permalink
fix: Table overflow and colors in embeds (#19452)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite authored Dec 21, 2023
1 parent d1a4d66 commit 2f8b8f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Binary file modified frontend/__snapshots__/lemon-ui-scrollable-shadows--vertical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
}

&.ScrollableShadows--horizontal {
height: 100%;

.ScrollableShadows__inner {
overflow-x: auto;
}
Expand All @@ -36,6 +38,8 @@
}

&.ScrollableShadows--vertical {
width: 100%;

.ScrollableShadows__inner {
overflow-y: auto;
}
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/lib/lemon-ui/LemonTable/LemonTable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
border-radius: var(--radius);

.WebAnalyticsDashboard &,
.Insight & {
.Insight &,
.InsightCard__viz & {
// Special override for scenes where the table is primarily next to insights
--lemon-table-background-color: var(--bg-light);
}
Expand Down

0 comments on commit 2f8b8f7

Please sign in to comment.