Skip to content
Snippets Groups Projects
Unverified Commit cf1bc7f5 authored by metabase-bot[bot]'s avatar metabase-bot[bot] Committed by GitHub
Browse files

Fix overflow problem in Filter Modal sidebar (#42386) (#42394)

parent d64e2807
No related branches found
No related tags found
No related merge requests found
......@@ -41,3 +41,8 @@ export const ModalBody = styled(Modal.Body)`
export const ModalFooter = styled(Flex)`
border-top: 1px solid ${color("border")};
`;
export const TabsListSidebar = styled(Tabs.List)`
overflow-y: auto;
flex-wrap: nowrap;
`;
......@@ -11,6 +11,7 @@ import {
ModalFooter,
ModalHeader,
TabPanelRoot,
TabsListSidebar,
} from "./FilterModal.styled";
import { FilterSearchInput } from "./FilterSearchInput";
import { SegmentFilterEditor } from "./SegmentFilterEditor";
......@@ -190,7 +191,7 @@ interface TabListProps {
function TabList({ groupItems }: TabListProps) {
return (
<Tabs.List w="25%" pt="sm" pl="md">
<TabsListSidebar w="25%" pt="sm" pl="md">
{groupItems.map(groupItem => (
<Tabs.Tab
key={groupItem.key}
......@@ -201,7 +202,7 @@ function TabList({ groupItems }: TabListProps) {
{groupItem.displayName}
</Tabs.Tab>
))}
</Tabs.List>
</TabsListSidebar>
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment