Revert "fix: Only show scrollbars on settings table when neccessary"
This reverts commit 573c372f09.
This commit is contained in:
@@ -5,7 +5,7 @@ import { transparentize } from "polished";
|
|||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
import styled from "styled-components";
|
import styled from "styled-components";
|
||||||
import breakpoint from "styled-components-breakpoint";
|
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 { supportsPassiveListener } from "@shared/utils/browser";
|
||||||
import Button from "~/components/Button";
|
import Button from "~/components/Button";
|
||||||
import Fade from "~/components/Fade";
|
import Fade from "~/components/Fade";
|
||||||
@@ -115,8 +115,6 @@ const Wrapper = styled(Flex)<WrapperProps>`
|
|||||||
z-index: ${depths.header};
|
z-index: ${depths.header};
|
||||||
position: sticky;
|
position: sticky;
|
||||||
background: ${s("background")};
|
background: ${s("background")};
|
||||||
overflow-y: auto;
|
|
||||||
${hideScrollbars()}
|
|
||||||
|
|
||||||
${(props) =>
|
${(props) =>
|
||||||
props.$passThrough
|
props.$passThrough
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ function Table({
|
|||||||
const showPlaceholder = isLoading && data.length === 0;
|
const showPlaceholder = isLoading && data.length === 0;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={{ overflowX: "auto" }}>
|
<div style={{ overflowX: "scroll" }}>
|
||||||
<Anchor ref={topRef} />
|
<Anchor ref={topRef} />
|
||||||
<InnerTable {...getTableProps()}>
|
<InnerTable {...getTableProps()}>
|
||||||
<thead>
|
<thead>
|
||||||
|
|||||||
Reference in New Issue
Block a user