chore: prettify icon styling updates

This commit is contained in:
Anoop M D 2024-02-27 23:48:03 +05:30
parent f64e13a71f
commit 96bcc7074a
3 changed files with 27 additions and 2 deletions

View File

@ -4,7 +4,6 @@ const Wrapper = styled.div`
table {
width: 100%;
border-collapse: collapse;
font-weight: 600;
table-layout: fixed;
thead,
@ -16,6 +15,7 @@ const Wrapper = styled.div`
color: ${(props) => props.theme.table.thead.color};
font-size: 0.8125rem;
user-select: none;
font-weight: 600;
}
td {
padding: 6px 10px;

View File

@ -217,8 +217,9 @@ export default class QueryEditor extends React.Component {
<button
className="btn-add-param text-link px-4 py-4 select-none absolute top-0 right-0 z-10"
onClick={this.beautifyRequestBody}
title="prettify"
>
<IconWand />
<IconWand size={20} strokeWidth={1.5} />
</button>
</StyledWrapper>
</>

View File

@ -0,0 +1,24 @@
meta {
name: spacex
type: graphql
seq: 1
}
post {
url: https://spacex-production.up.railway.app/
body: graphql
auth: none
}
body:graphql {
{
company {
ceo
}
}
}
assert {
res.status: eq 200
}