Skip to content

Commit 25cf1f1

Browse files
authored
fix(uptime): Use overflow auto in snippet (#95172)
scroll always shows scrollbar with mouse or on windows before ![image](https://github.com/user-attachments/assets/4100183e-07b3-4baa-9ed1-3b5c38320e32) after ![image](https://github.com/user-attachments/assets/496befb2-6818-4079-b741-021571f689d3)
1 parent 947ca47 commit 25cf1f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/app/views/alerts/rules/uptime/httpSnippet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export function HTTPSnippet({body, headers, method, url, traceSampling}: Props)
5959

6060
const MaxSizedSnippet = styled(CodeSnippet)`
6161
pre {
62-
overflow-y: scroll;
62+
overflow-y: auto;
6363
max-height: 400px;
6464
}
6565
`;

0 commit comments

Comments
 (0)