Skip to content

Commit

Permalink
Merge pull request #385 from kac89/dev
Browse files Browse the repository at this point in the history
up
  • Loading branch information
kac89 committed Jun 20, 2024
2 parents c387caa + fb87b08 commit 0fcc2a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class DialogEditorFullscreenComponent implements OnInit {
renderer.table = function(token: any) {

const header = token.header.map((res:any) => {
return "<th>"+DOMPurify.sanitize(res.text)+"</th>";
return "<th class='titlepad'>"+DOMPurify.sanitize(res.text)+"</th>";
}).join("");

const body = token.rows.map((res:any) => {
Expand Down
3 changes: 3 additions & 0 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,9 @@ thead.tablemd {
border: 1px solid #4a4a4a;
padding: 8px;
}
.titlepad {
padding-left: 10px;
}

blockquote p {
margin-top: 10px;
Expand Down

0 comments on commit 0fcc2a3

Please sign in to comment.