Skip to content

Commit 191a698

Browse files
committed
Nicer padding for buttons in query editor
1 parent 29c6e35 commit 191a698

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

apps/webapp/app/components/code/TSQLEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ export function TSQLEditor(opts: TSQLEditorProps) {
284284
}}
285285
/>
286286
{showButtons && (
287-
<div className="absolute right-0 top-0 z-10 flex items-center justify-end bg-charcoal-900/80 p-0.5">
287+
<div className="absolute right-0 top-0 z-10 flex items-center justify-end bg-charcoal-900/80 p-1.5">
288288
{additionalActions && additionalActions}
289289
{showFormatButton && (
290290
<Button

apps/webapp/app/components/code/TSQLResultsTable.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -850,11 +850,7 @@ function HeaderCellContent({
850850
className="flex-shrink-0 rounded text-text-dimmed transition-colors hover:text-text-bright"
851851
title="Toggle column filters"
852852
>
853-
{showFilters ? (
854-
<IconFilter2X className="size-4" />
855-
) : (
856-
<IconFilter2 className="size-4" />
857-
)}
853+
{showFilters ? <IconFilter2X className="size-4" /> : <IconFilter2 className="size-4" />}
858854
</button>
859855
)}
860856
</div>

0 commit comments

Comments
 (0)