Skip to content

Commit e8e2f76

Browse files
author
unjinjang
committed
[FIX]: Fix response header menu not displaying the entire headers information
1 parent 836e783 commit e8e2f76

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

webview/features/Response/Menu/ResponseMenuOption.js

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from "react";
2+
import styled from "styled-components";
23
import shallow from "zustand/shallow";
34

45
import { COMMON, HEIGHT, OPTION, REQUEST } from "../../../constants";
@@ -27,7 +28,11 @@ const ResponseMenuOption = () => {
2728

2829
switch (responseOption) {
2930
case COMMON.HEADERS:
30-
return <KeyValueTable keyValueTableData={responseHeaders} readOnly />;
31+
return (
32+
<ResponseHeaderWrapper>
33+
<KeyValueTable keyValueTableData={responseHeaders} readOnly />
34+
</ResponseHeaderWrapper>
35+
);
3136
default:
3237
return (
3338
<>
@@ -49,4 +54,9 @@ const ResponseMenuOption = () => {
4954
}
5055
};
5156

57+
const ResponseHeaderWrapper = styled.div`
58+
height: 60vh;
59+
overflow-y: scroll;
60+
`;
61+
5262
export default ResponseMenuOption;

0 commit comments

Comments
 (0)