1
0
Fork 0

FIX: table styles for wizard composer preview (#70)

* copied over markdown table styles from discourse

* added a description comment
Dieser Commit ist enthalten in:
Faizaan Gagan 2021-02-18 18:20:40 +05:30 committet von GitHub
Ursprung b8a21eefe2
Commit 38a68c07e2
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -235,3 +235,34 @@
margin-top: 20px;
align-items: center;
}
// Markdown table styles for wizard composer preview
.cooked table,
.d-editor-preview table {
border-collapse: collapse;
tr {
border-bottom: 1px solid var(--primary-low);
&.highlighted {
animation: background-fade-highlight 2.5s ease-out;
}
}
thead {
th {
text-align: left;
padding: 0.5em;
font-weight: bold;
color: var(--primary);
}
}
tbody {
border-top: 3px solid var(--primary-low);
}
td {
padding: 3px 3px 3px 0.5em;
}
}