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>
<article>
<div v-html="htmlContent"></div>
<div v-html="htmlContent" class="markdown"></div>
<slot></slot>
</article>
</template>

View file

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

View file

@ -1,30 +1,9 @@
/* Style the tab */
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
.markdown:not(:last-child) {
padding-bottom: 1.5rem;
}
/* Style the buttons that are used to open the tab content */
.tab button {
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 {
padding-bottom:1.5rem;
}
article .table-auto table {