fix: correction style markdown

This commit is contained in:
Kazhnuz 2023-02-08 12:17:42 +01:00
parent 9320e0c134
commit c28d86d1f2
3 changed files with 8 additions and 27 deletions

View file

@ -123,7 +123,7 @@ onBeforeUpdate(() => {
<template> <template>
<article> <article>
<div v-html="htmlContent"></div> <div v-html="htmlContent" class="markdown"></div>
<slot></slot> <slot></slot>
</article> </article>
</template> </template>

View file

@ -4,8 +4,10 @@
table { table {
border-collapse: collapse; border-collapse: collapse;
&:not(:last-child) {
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
} }
}
th, td { th, td {
border:1px solid rgba(0,0,0,0.2); border:1px solid rgba(0,0,0,0.2);

View file

@ -1,30 +1,9 @@
/* Style the tab */ .markdown:not(:last-child) {
.tab { padding-bottom: 1.5rem;
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
} }
/* Style the buttons that are used to open the tab content */ article {
.tab button { padding-bottom:1.5rem;
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #ddd;
}
/* Create an active/current tablink class */
.tab button.active {
color: #FFF;
background-color: #42B983;
} }
article .table-auto table { article .table-auto table {