diff --git a/packages/bruno-app/src/components/Devtools/Console/RequestDetailsPanel/StyledWrapper.js b/packages/bruno-app/src/components/Devtools/Console/RequestDetailsPanel/StyledWrapper.js index 5d66cf493..9c596f230 100644 --- a/packages/bruno-app/src/components/Devtools/Console/RequestDetailsPanel/StyledWrapper.js +++ b/packages/bruno-app/src/components/Devtools/Console/RequestDetailsPanel/StyledWrapper.js @@ -305,7 +305,7 @@ const StyledWrapper = styled.div` } } - .network-logs-container { + .network-logs-wrapper { border: 1px solid ${(props) => props.theme.console.border}; border-radius: 4px; overflow: hidden; @@ -313,17 +313,17 @@ const StyledWrapper = styled.div` min-height: 200px; max-height: 400px; - .network-logs { + .network-logs-container { background: ${(props) => props.theme.console.contentBg} !important; color: ${(props) => props.theme.console.messageColor} !important; height: 100% !important; max-height: 400px !important; + padding: 0.5rem !important; - pre { + .network-logs-pre { color: ${(props) => props.theme.console.messageColor} !important; font-size: ${(props) => props.theme.font.size.xs} !important; line-height: 1.4 !important; - padding: 12px !important; } } } diff --git a/packages/bruno-app/src/components/Devtools/Console/RequestDetailsPanel/index.js b/packages/bruno-app/src/components/Devtools/Console/RequestDetailsPanel/index.js index 077c319dc..44f125c3a 100644 --- a/packages/bruno-app/src/components/Devtools/Console/RequestDetailsPanel/index.js +++ b/packages/bruno-app/src/components/Devtools/Console/RequestDetailsPanel/index.js @@ -141,7 +141,7 @@ const NetworkTab = ({ response }) => {
+
{isBodyCollapsed ? '▼' : '▶'} Body
+
{areHeadersCollapsed ? '▼' : '▶'} Headers
{headers && Object.keys(headers).length > 0
&& ({Object.keys(headers).length})}
@@ -16,7 +16,7 @@ const HeadersBlock = ({ headers, type }) => {
{headers && Object.keys(headers).length > 0
?
- : No Headers found}
+ : No Headers found}
)}
- {logs.map((currentLog, index) => {
- if (index > 0 && currentLog?.type === 'separator') {
- return ;
- }
- const nextLog = logs[index + 1];
- const isSameLogType = nextLog?.type === currentLog?.type;
- return (
- <>
-
- {!isSameLogType && }
- >
- );
- })}
-
-
+ {logs.map((currentLog, index) => {
+ if (index > 0 && currentLog?.type === 'separator') {
+ return ;
+ }
+ const nextLog = logs[index + 1];
+ const isSameLogType = nextLog?.type === currentLog?.type;
+ return (
+
+
+ {!isSameLogType && }
+
+ );
+ })}
+
+ [oauth2.0]: null} - {!hideTimestamp && ( - <> -
[{new Date(timestamp).toISOString()}]
-
- [oauth2.0]} + {!hideTimestamp && ( + <> +
[{new Date(timestamp).toISOString()}]
+
+