diff --git a/.changeset/strange-flies-complain.md b/.changeset/strange-flies-complain.md new file mode 100644 index 00000000000..752bd7270ec --- /dev/null +++ b/.changeset/strange-flies-complain.md @@ -0,0 +1,5 @@ +--- +"saleor-dashboard": patch +--- + +Add horizontal scrollbar on datagrid diff --git a/src/components/Datagrid/styles.ts b/src/components/Datagrid/styles.ts index e03b79f6830..6d5901f8915 100644 --- a/src/components/Datagrid/styles.ts +++ b/src/components/Datagrid/styles.ts @@ -91,15 +91,11 @@ const useStyles = makeStyles<{ actionButtonPosition?: "left" | "right" }>( datagrid: { "& .dvn-scroller": { overscrollBehaviorX: "none", - scrollbarWidth: "none", - }, - "& .dvn-scroller::-webkit-scrollbar": { - display: "none", + overflowY: "hidden", }, borderRadius: 0, boxSizing: "content-box", width: "100%", - paddingBottom: "1px", }, root: { position: "relative",