diff --git a/frontend/__snapshots__/components-compact-list--compact-list.png b/frontend/__snapshots__/components-compact-list--compact-list.png index 49cbfb2048571..1ab5cccecf7f1 100644 Binary files a/frontend/__snapshots__/components-compact-list--compact-list.png and b/frontend/__snapshots__/components-compact-list--compact-list.png differ diff --git a/frontend/__snapshots__/posthog-3000-navigation--navigation-3000.png b/frontend/__snapshots__/posthog-3000-navigation--navigation-3000.png index cb3513e97394d..9c4e289199783 100644 Binary files a/frontend/__snapshots__/posthog-3000-navigation--navigation-3000.png and b/frontend/__snapshots__/posthog-3000-navigation--navigation-3000.png differ diff --git a/frontend/__snapshots__/posthog-3000-navigation--navigation-base.png b/frontend/__snapshots__/posthog-3000-navigation--navigation-base.png index d42c385e3c023..a0e2068387f91 100644 Binary files a/frontend/__snapshots__/posthog-3000-navigation--navigation-base.png and b/frontend/__snapshots__/posthog-3000-navigation--navigation-base.png differ diff --git a/frontend/__snapshots__/scenes-app-feature-flags--edit-feature-flag.png b/frontend/__snapshots__/scenes-app-feature-flags--edit-feature-flag.png index 9fe8b83975eb5..af83f781707c8 100644 Binary files a/frontend/__snapshots__/scenes-app-feature-flags--edit-feature-flag.png and b/frontend/__snapshots__/scenes-app-feature-flags--edit-feature-flag.png differ diff --git a/frontend/__snapshots__/scenes-app-feature-flags--edit-multi-variate-feature-flag.png b/frontend/__snapshots__/scenes-app-feature-flags--edit-multi-variate-feature-flag.png index 4638e3c252629..e2d2e1bbd2679 100644 Binary files a/frontend/__snapshots__/scenes-app-feature-flags--edit-multi-variate-feature-flag.png and b/frontend/__snapshots__/scenes-app-feature-flags--edit-multi-variate-feature-flag.png differ diff --git a/frontend/__snapshots__/scenes-app-project-homepage--project-homepage.png b/frontend/__snapshots__/scenes-app-project-homepage--project-homepage.png index e68bb4406ab67..b7a45b2b53c70 100644 Binary files a/frontend/__snapshots__/scenes-app-project-homepage--project-homepage.png and b/frontend/__snapshots__/scenes-app-project-homepage--project-homepage.png differ diff --git a/frontend/src/lib/components/CompactList/CompactList.scss b/frontend/src/lib/components/CompactList/CompactList.scss index 5c0e76c6093a3..6d8877a087898 100644 --- a/frontend/src/lib/components/CompactList/CompactList.scss +++ b/frontend/src/lib/components/CompactList/CompactList.scss @@ -1,15 +1,15 @@ -.compact-list { +.CompactList { border-radius: var(--radius); border: 1px solid var(--border); - height: calc(19.25rem); background: var(--bg-light); box-sizing: content-box; display: flex; flex-direction: column; flex: 1; + overflow: hidden; - .compact-list-header { - padding: 0.5rem 1rem 0; + .CompactList__header { + padding: 0.5rem; display: flex; align-items: center; justify-content: space-between; @@ -17,15 +17,15 @@ h3 { margin-bottom: 0; font-weight: 600; - font-size: 1rem; + font-size: 0.9rem; line-height: 1.4; } } - .scrollable-list { - flex: 1; - overflow: auto; - padding: 0 0.5rem; + .CompactList__content { + overflow-y: auto; + height: 16rem; + padding: 0.5rem; } .LemonButton { diff --git a/frontend/src/lib/components/CompactList/CompactList.tsx b/frontend/src/lib/components/CompactList/CompactList.tsx index eaa3f392c1013..826ef799b1038 100644 --- a/frontend/src/lib/components/CompactList/CompactList.tsx +++ b/frontend/src/lib/components/CompactList/CompactList.tsx @@ -24,15 +24,15 @@ export function CompactList({ renderRow, }: CompactListProps): JSX.Element { return ( -