Skip to content

Commit 5b8089f

Browse files
committed
fix(ui): make field details panel scrollable
This commit fixes a bug where long occurrence lists could not be scrolled, causing items to be hidden.
1 parent 01c76f9 commit 5b8089f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

graphql-usage-ui/src/DetailsPanel.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ const Panel: React.FC = ({ children }) => {
2222
height: "100%",
2323
marginBottom: "24px",
2424
backgroundColor: "#fff",
25-
boxShadow: "0 0 8px rgba(0, 0, 0, 0.15)"
25+
boxShadow: "0 0 8px rgba(0, 0, 0, 0.15)",
26+
overflowY: "scroll"
2627
}}
2728
>
2829
{children}

0 commit comments

Comments
 (0)