Update components view

This commit is contained in:
khatabwedaa
2021-05-20 15:36:48 +02:00
parent 213581dc9f
commit e1380f6eab

View File

@@ -1,9 +1,8 @@
<template>
<div class="mb-12 overflow-hidden bg-gray-300 border rounded-lg dark:bg-gray-600 dark:border-gray-600">
<div class="px-4 py-2 bg-white border-b dark:bg-gray-800 dark:border-gray-600">
<div class="mb-16">
<div class="flex flex-col items-center justify-between md:flex-row">
<div class="flex items-center">
<h3 class="font-medium text-gray-700 capitalize dark:text-gray-200 md:text-lg">{{ name }}</h3>
<h3 class="text-gray-700 capitalize dark:text-gray-200 md:text-lg">{{ name }}</h3>
</div>
<div class="mt-4 md:mt-0">
@@ -27,9 +26,8 @@
</app-button>
</div>
</div>
</div>
<div class="flex items-center justify-center">
<div class="flex items-center justify-center mt-4 overflow-hidden bg-gray-300 border rounded-lg dark:border-gray-600 dark:bg-gray-600">
<div class="relative w-full" :dir="rtl? 'rtl' : 'ltr'">
<slot class="absolute top-0 left-0 w-full h-full" name="component"></slot>