Some icon tweaks

This commit is contained in:
Gregory Schier
2023-03-30 16:29:14 -07:00
parent 4a98d1d655
commit 89da434c0e
3 changed files with 5 additions and 5 deletions

View File

@@ -103,7 +103,7 @@ export const ResponsePane = memo(function ResponsePane({ style, className }: Pro
icon="triangleDown" icon="triangleDown"
className="ml-auto" className="ml-auto"
size="sm" size="sm"
iconSize="sm" iconSize="md"
/> />
</Dropdown> </Dropdown>
</HStack> </HStack>

View File

@@ -54,11 +54,11 @@ export const UrlBar = memo(function UrlBar({ id: requestId, url, method, classNa
} }
rightSlot={ rightSlot={
<IconButton <IconButton
size="sm" size="xs"
iconSize="sm"
title="Send Request" title="Send Request"
type="submit" type="submit"
color="custom" className="w-8 mr-0.5"
className="!px-2 mr-0.5"
icon={loading ? 'update' : 'paperPlane'} icon={loading ? 'update' : 'paperPlane'}
spin={loading} spin={loading}
disabled={loading} disabled={loading}

View File

@@ -51,7 +51,7 @@ const _IconButton = forwardRef<HTMLButtonElement, Props>(function IconButton(
'!px-0', '!px-0',
size === 'md' && 'w-9', size === 'md' && 'w-9',
size === 'sm' && 'w-8', size === 'sm' && 'w-8',
size === 'xs' && 'w-7', size === 'xs' && 'w-6',
)} )}
size={size} size={size}
{...props} {...props}