feat(@vben/web-antd): perf: home page analysis card adjusted to grid layout (#4219)
Co-authored-by: DreamyTZK <i@tzki.cn>pull/48/MERGE
							parent
							
								
									d5655f02e3
								
							
						
					
					
						commit
						c27b97f933
					
				|  | @ -25,13 +25,9 @@ withDefaults(defineProps<Props>(), { | ||||||
| </script> | </script> | ||||||
| 
 | 
 | ||||||
| <template> | <template> | ||||||
|   <div class="md:flex"> |   <div class="grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-4"> | ||||||
|     <template v-for="(item, index) in items" :key="item.title"> |     <template v-for="item in items" :key="item.title"> | ||||||
|       <Card |       <Card :title="item.title" class="w-full"> | ||||||
|         :class="{ 'md:mr-4': index + 1 < 4 }" |  | ||||||
|         :title="item.title" |  | ||||||
|         class="mt-5 w-full md:mt-0 md:w-1/4" |  | ||||||
|       > |  | ||||||
|         <CardHeader> |         <CardHeader> | ||||||
|           <CardTitle class="text-xl">{{ item.title }}</CardTitle> |           <CardTitle class="text-xl">{{ item.title }}</CardTitle> | ||||||
|         </CardHeader> |         </CardHeader> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Hannah Jensen
						Hannah Jensen