mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-08 22:45:25 +00:00
chore: pr #766 ux polish
This commit is contained in:
@@ -2,6 +2,7 @@ import styled from 'styled-components';
|
||||
|
||||
const StyledWrapper = styled.div`
|
||||
font-size: 0.8125rem;
|
||||
color: ${(props) => props.theme.requestTabPanel.responseStatus};
|
||||
`;
|
||||
|
||||
export default StyledWrapper;
|
||||
|
||||
@@ -2,6 +2,7 @@ import React from 'react';
|
||||
import StyledWrapper from './StyledWrapper';
|
||||
import toast from 'react-hot-toast';
|
||||
import get from 'lodash/get';
|
||||
import { IconDownload } from '@tabler/icons';
|
||||
|
||||
const ResponseSave = ({ item }) => {
|
||||
const { ipcRenderer } = window;
|
||||
@@ -21,9 +22,9 @@ const ResponseSave = ({ item }) => {
|
||||
};
|
||||
|
||||
return (
|
||||
<StyledWrapper className="ml-4">
|
||||
<button onClick={saveResponseToFile} disabled={!response.dataBuffer}>
|
||||
Save Response
|
||||
<StyledWrapper className="ml-4 flex items-center">
|
||||
<button onClick={saveResponseToFile} disabled={!response.dataBuffer} title="Save response to file">
|
||||
<IconDownload size={16} strokeWidth={1.5} />
|
||||
</button>
|
||||
</StyledWrapper>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user