Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new responsive styles to input on api pagination #2332

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading