Better button styles

This commit is contained in:
Gregory Schier
2023-04-04 15:40:25 -07:00
parent 7c7eba5f63
commit 8eb2a14737
5 changed files with 27 additions and 49 deletions

View File

@@ -195,7 +195,7 @@ const _SidebarItem = forwardRef(function SidebarItem(
<Button
tabIndex={0}
color="custom"
size="sm"
size="xs"
to={`/workspaces/${workspaceId}/requests/${requestId}`}
draggable={false} // Item should drag, not the link
onDoubleClick={() => setEditing(true)}
@@ -226,11 +226,7 @@ const _SidebarItem = forwardRef(function SidebarItem(
{isResponseLoading(latestResponse) ? (
<Icon spin size="sm" icon="update" />
) : (
<StatusTag
asBackground
className="px-0.5 rounded-sm font-mono text-2xs"
response={latestResponse}
/>
<StatusTag className="text-2xs" response={latestResponse} />
)}
</div>
)}