Skip to content

Commit

Permalink
Add new responsive styles to input on api pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
KATIETOLER committed Sep 18, 2024
1 parent 04e1fa8 commit 3ded692
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/holocene/api-pagination.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
<slot name="header" visibleItems={$store.visibleItems} />
<div class="relative mb-8 flex flex-col gap-4">
<div
class="flex flex-col items-center gap-4 lg:flex-row {$$slots[
class="flex flex-col items-center gap-4 sm:flex-row md:flex-row lg:flex-col {$$slots[
'action-top-left'
]
? 'justify-between'
Expand All @@ -226,7 +226,7 @@
<Input
icon="search"
id="api-pagination-search-input"
class="grow"
class="w-1/2 grow"
bind:value={query}
label={filterInputPlaceholder}
labelHidden
Expand All @@ -237,7 +237,7 @@
/>
{/if}
<nav
class="flex shrink-0 flex-col gap-4 md:flex-row"
class="flex shrink-0 flex-col gap-4 sm:flex-row lg:flex-col"
aria-label="{$$restProps['aria-label']} 1"
>
<slot name="action-top-center" />
Expand Down

0 comments on commit 3ded692

Please sign in to comment.