From f543792640aa6ef68f408a7045aeca380c1f859f Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 18 Apr 2024 11:26:43 -0400 Subject: [PATCH] Revert "fix: Only show scrollbars on settings table when neccessary" This reverts commit 573c372f093a2fee85be8cadc4779d35f1e152dd. --- app/components/Header.tsx | 4 +--- app/components/Table.tsx | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/components/Header.tsx b/app/components/Header.tsx index 5122df332..f62bdbe49 100644 --- a/app/components/Header.tsx +++ b/app/components/Header.tsx @@ -5,7 +5,7 @@ import { transparentize } from "polished"; import * as React from "react"; import styled from "styled-components"; import breakpoint from "styled-components-breakpoint"; -import { depths, hideScrollbars, s } from "@shared/styles"; +import { depths, s } from "@shared/styles"; import { supportsPassiveListener } from "@shared/utils/browser"; import Button from "~/components/Button"; import Fade from "~/components/Fade"; @@ -115,8 +115,6 @@ const Wrapper = styled(Flex)` z-index: ${depths.header}; position: sticky; background: ${s("background")}; - overflow-y: auto; - ${hideScrollbars()} ${(props) => props.$passThrough diff --git a/app/components/Table.tsx b/app/components/Table.tsx index e264a73e8..f58ff4047 100644 --- a/app/components/Table.tsx +++ b/app/components/Table.tsx @@ -116,7 +116,7 @@ function Table({ const showPlaceholder = isLoading && data.length === 0; return ( -
+