@@ -26,28 +26,34 @@ import Skeleton from '../../layout/demo/Skeleton/Basic.vue';
26
26
27
27
<template >
28
28
<div
29
- class =" max-w-6xl mx-auto mt-36 flex space-x-10"
29
+ class =" w-full lg: max-w-6xl mx-auto mt-36 flex flex-col lg:flex-row lg: space-x-10"
30
30
>
31
- <div class =" w-10/12 flex flex-wrap space-y-10" >
31
+ <div class =" px-5 lg:px-0 w-full lg: w-10/12 flex flex-wrap space-y-10" >
32
32
<div class =" w-full" ><BasicRange /></div >
33
- <div class =" space-x-10 flex justify-between w-full" >
33
+ <div class =" space-x-10 flex lg:justify-between w-full" >
34
+ <div class =" flex flex-col lg:flex-row gap-4 lg:gap-10 " >
34
35
<div ><Dropdown /></div >
35
36
<div ><AvatarGroup /></div >
37
+ </div >
38
+ <div class =" flex flex-col lg:flex-row gap-4 lg:gap-10 " >
39
+
36
40
<div ><Button /></div >
37
- <Chip />
38
41
<div ><Badge /></div >
39
42
<div ><Toggle /></div >
40
- <div ><Pagination /></div >
43
+ </div >
44
+ <div class =" hidden sm:block" ><Pagination /></div >
41
45
</div >
42
- <div class =" flex space-x-10" >
43
- <div class =" w-1/2 space-y-10" >
46
+ <div class =" block sm:hidden" ><Pagination /></div >
47
+
48
+ <div class =" flex w-full flex-col lg:flex-row lg:space-x-10" >
49
+ <div class =" w-full lg:w-1/2 space-y-10" >
44
50
<Alert />
45
51
<BasicAccordion />
46
52
</div >
47
- <div class =" w-1/2 border rounded-lg shadow" ><CommandPalette /></div >
53
+ <div class =" w-full lg: w-1/2 border rounded-lg shadow" ><CommandPalette /></div >
48
54
</div >
49
55
</div >
50
- <div class =" w- 2/12 space-y-10" >
56
+ <div class =" px-5 mt-4 lg:mt-0 lg:px-0 flex flex-col gap-3 space-x-0 w-full lg:w- 2/12 lg: space-y-10" >
51
57
<Radio />
52
58
<Checkbox />
53
59
<Input />
@@ -56,14 +62,14 @@ import Skeleton from '../../layout/demo/Skeleton/Basic.vue';
56
62
</div >
57
63
</div >
58
64
<div
59
- class =" max-w-6xl mx-auto mt-10 flex justify-between space-x-10"
65
+ class =" max-w-6xl px-5 lg:px-0 mx-auto mt-10 flex flex-col gap-3 lg:gap-0 lg:flex-row justify-between lg: space-x-10"
60
66
>
61
67
<div class =" space-y-10" >
62
68
<Tabs class =" relative space-y-2 w-full" />
63
69
<Skeleton class =" border shadow-sm p-5 rounded-lg" />
64
70
</div >
65
71
<div >
66
- <Table class =" border shadow-sm p-5 rounded-lg" />
72
+ <Table class =" border overflow-y-scroll shadow-sm p-5 rounded-lg" />
67
73
</div >
68
74
</div >
69
75
</template >
0 commit comments