Merge pull request #9728 from benediktwerner/ublog-table-alignment

ublog/css: Allow markdown table alignment
ublog-markdown-preview
Thibault Duplessis 2021-09-05 08:15:33 +02:00 committed by GitHub
commit f4d36fc305
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -111,4 +111,17 @@
margin: $block-gap auto;
}
th,
td {
&[align='left'] {
text-align: left;
}
&[align='center'] {
text-align: center;
}
&[align='right'] {
text-align: right;
}
}
}