Skip to content

Commit 12be1f7

Browse files
committed
Remove pointer on disabled checkbox
1 parent e12d807 commit 12be1f7

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

  • src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/export

src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/export/+page.svelte

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,14 @@
254254
bind:checked={includeHeader} />
255255

256256
<Layout.Stack gap="m">
257-
<InputCheckbox
258-
id="exportWithFilters"
259-
label="Export with filters"
260-
description="Export rows that match the current table filters"
261-
disabled={$tags.length === 0}
262-
bind:checked={exportWithFilters} />
257+
<div class:disabled-checkbox={$tags.length === 0}>
258+
<InputCheckbox
259+
id="exportWithFilters"
260+
label="Export with filters"
261+
description="Export rows that match the current table filters"
262+
disabled={$tags.length === 0}
263+
bind:checked={exportWithFilters} />
264+
</div>
263265

264266
{#if $tags.length > 0}
265267
<ul
@@ -306,4 +308,8 @@
306308
row-gap: 1.25rem;
307309
column-gap: 1rem;
308310
}
311+
312+
.disabled-checkbox :global(*) {
313+
cursor: unset;
314+
}
309315
</style>

0 commit comments

Comments
 (0)