Skip to content
Snippets Groups Projects
Unverified Commit 6704d9e7 authored by Uladzimir Havenchyk's avatar Uladzimir Havenchyk Committed by GitHub
Browse files

Fix overflow problem in Filter Modal sidebar (#42386)

parent 09cc197a
No related branches found
No related tags found
No related merge requests found
......@@ -43,3 +43,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;
`;
......@@ -20,6 +20,7 @@ import {
ModalFooter,
ModalHeader,
TabPanelRoot,
TabsListSidebar,
} from "./FilterModal.styled";
import { FilterSearchInput } from "./FilterSearchInput";
import { SegmentFilterEditor } from "./SegmentFilterEditor";
......@@ -198,7 +199,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}
......@@ -209,7 +210,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