Revert "fix: Only show scrollbars on settings table when neccessary"

This reverts commit 573c372f09.
This commit is contained in:
Tom Moor
2024-04-18 11:26:43 -04:00
parent 6b6156b032
commit f543792640
2 changed files with 2 additions and 4 deletions

View File

@@ -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)<WrapperProps>`
z-index: ${depths.header};
position: sticky;
background: ${s("background")};
overflow-y: auto;
${hideScrollbars()}
${(props) =>
props.$passThrough

View File

@@ -116,7 +116,7 @@ function Table({
const showPlaceholder = isLoading && data.length === 0;
return (
<div style={{ overflowX: "auto" }}>
<div style={{ overflowX: "scroll" }}>
<Anchor ref={topRef} />
<InnerTable {...getTableProps()}>
<thead>