Skip to content

Commit c2047bf

Browse files
Add new responsive styles to input on api pagination (#2333)
* Add new responsive styles to input on api pagination * Fix weird * Add w-full sm:w-1/2 to input * Fix weird flex row on xl screen size * Update src/lib/holocene/api-pagination.svelte simplify with flex-wrap Co-authored-by: Laura Whitaker <[email protected]> * Update src/lib/holocene/api-pagination.svelte Add better responsive styles Co-authored-by: Laura Whitaker <[email protected]> * Add grow back to input * Update src/lib/holocene/api-pagination.svelte Co-authored-by: Laura Whitaker <[email protected]> --------- Co-authored-by: Laura Whitaker <[email protected]>
1 parent 9d64fab commit c2047bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/lib/holocene/api-pagination.svelte

+2-2
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
<slot name="header" visibleItems={$store.visibleItems} />
216216
<div class="relative mb-8 flex flex-col gap-4">
217217
<div
218-
class="flex flex-col items-center gap-4 lg:flex-row {$$slots[
218+
class="flex flex-row flex-wrap items-center gap-4 {$$slots[
219219
'action-top-left'
220220
]
221221
? 'justify-between'
@@ -237,7 +237,7 @@
237237
/>
238238
{/if}
239239
<nav
240-
class="flex shrink-0 flex-col gap-4 md:flex-row"
240+
class="flex flex-row flex-wrap justify-center gap-4"
241241
aria-label="{$$restProps['aria-label']} 1"
242242
>
243243
<slot name="action-top-center" />

0 commit comments

Comments
 (0)