mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-30 19:57:55 +01:00
docs(examples): broken responsive
This commit is contained in:
@@ -5,7 +5,7 @@ const items = ref(Array(55))
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="w-full divide-y divide-gray-200 dark:divide-gray-700 space-y-4">
|
<div class="w-full divide-y divide-gray-200 dark:divide-gray-700 space-y-4">
|
||||||
<div class="flex justify-between w-full">
|
<div class="flex flex-wrap gap-1 justify-between w-full">
|
||||||
<div dir="ltr">
|
<div dir="ltr">
|
||||||
<UInput
|
<UInput
|
||||||
icon="i-heroicons-magnifying-glass-20-solid"
|
icon="i-heroicons-magnifying-glass-20-solid"
|
||||||
@@ -27,7 +27,7 @@ const items = ref(Array(55))
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex justify-between w-full pt-4">
|
<div class="flex flex-wrap gap-1 justify-between w-full pt-4">
|
||||||
<div dir="ltr">
|
<div dir="ltr">
|
||||||
<UPagination
|
<UPagination
|
||||||
v-model="page"
|
v-model="page"
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ const { data: todos, pending } = await useLazyAsyncData('todos', () => $fetch<{
|
|||||||
<UButton
|
<UButton
|
||||||
icon="i-heroicons-chevron-down"
|
icon="i-heroicons-chevron-down"
|
||||||
trailing
|
trailing
|
||||||
variant="soft"
|
color="gray"
|
||||||
size="xs"
|
size="xs"
|
||||||
>
|
>
|
||||||
Mark as
|
Mark as
|
||||||
@@ -153,7 +153,7 @@ const { data: todos, pending } = await useLazyAsyncData('todos', () => $fetch<{
|
|||||||
<USelectMenu v-model="selectedColumns" :options="columns" multiple>
|
<USelectMenu v-model="selectedColumns" :options="columns" multiple>
|
||||||
<UButton
|
<UButton
|
||||||
icon="i-heroicons-view-columns"
|
icon="i-heroicons-view-columns"
|
||||||
variant="soft"
|
color="gray"
|
||||||
size="xs"
|
size="xs"
|
||||||
>
|
>
|
||||||
Columns
|
Columns
|
||||||
@@ -162,8 +162,7 @@ const { data: todos, pending } = await useLazyAsyncData('todos', () => $fetch<{
|
|||||||
|
|
||||||
<UButton
|
<UButton
|
||||||
icon="i-heroicons-funnel"
|
icon="i-heroicons-funnel"
|
||||||
variant="soft"
|
color="gray"
|
||||||
color="red"
|
|
||||||
size="xs"
|
size="xs"
|
||||||
:disabled="search === '' && selectedStatus.length === 0"
|
:disabled="search === '' && selectedStatus.length === 0"
|
||||||
@click="resetFilters"
|
@click="resetFilters"
|
||||||
@@ -181,6 +180,8 @@ const { data: todos, pending } = await useLazyAsyncData('todos', () => $fetch<{
|
|||||||
:loading="pending"
|
:loading="pending"
|
||||||
sort-asc-icon="i-heroicons-arrow-up"
|
sort-asc-icon="i-heroicons-arrow-up"
|
||||||
sort-desc-icon="i-heroicons-arrow-down"
|
sort-desc-icon="i-heroicons-arrow-down"
|
||||||
|
class="w-full"
|
||||||
|
:ui="{ td: { base: 'max-w-[0] truncate' } }"
|
||||||
@select="select"
|
@select="select"
|
||||||
>
|
>
|
||||||
<template #completed-data="{ row }">
|
<template #completed-data="{ row }">
|
||||||
@@ -212,7 +213,7 @@ const { data: todos, pending } = await useLazyAsyncData('todos', () => $fetch<{
|
|||||||
|
|
||||||
<!-- Number of rows & Pagination -->
|
<!-- Number of rows & Pagination -->
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<div class="flex justify-between items-center">
|
<div class="flex flex-wrap justify-between items-center">
|
||||||
<div>
|
<div>
|
||||||
<span class="text-sm leading-5">
|
<span class="text-sm leading-5">
|
||||||
Showing
|
Showing
|
||||||
|
|||||||
Reference in New Issue
Block a user