FIX: table styles for wizard composer preview (#70)
* copied over markdown table styles from discourse * added a description comment
Dieser Commit ist enthalten in:
Ursprung
b8a21eefe2
Commit
38a68c07e2
1 geänderte Dateien mit 31 neuen und 0 gelöschten Zeilen
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Laden …
In neuem Issue referenzieren