Fix RTL broken components

This commit is contained in:
khatabwedaa
2021-05-28 10:04:07 +02:00
parent 4525270d2f
commit 1abb13481e
3 changed files with 19 additions and 21 deletions

View File

@@ -1,7 +1,7 @@
<template>
<view-component :name="name" :code="code">
<div class="py-6" slot="component">
<footer class="flex flex-col items-center justify-between px-6 py-2 bg-white dark:bg-gray-800 sm:flex-row">
<footer class="flex flex-col items-center justify-between px-6 py-4 bg-white dark:bg-gray-800 sm:flex-row">
<a href="#" class="text-xl font-bold text-gray-800 dark:text-white hover:text-gray-700 dark:hover:text-gray-300">Brand</a>
<p class="py-2 text-gray-800 dark:text-white sm:py-0">All rights reserved</p>
@@ -46,7 +46,7 @@
return {
name: 'Simple',
code: `
<footer class="flex flex-col items-center justify-between px-6 py-2 bg-white dark:bg-gray-800 sm:flex-row">
<footer class="flex flex-col items-center justify-between px-6 py-4 bg-white dark:bg-gray-800 sm:flex-row">
<a href="#" class="text-xl font-bold text-gray-800 dark:text-white hover:text-gray-700 dark:hover:text-gray-300">Brand</a>
<p class="py-2 text-gray-800 dark:text-white sm:py-0">All rights reserved</p>