Skip to content

Commit

Permalink
fix: Add Formatting for Markdown Tables (#4703)
Browse files Browse the repository at this point in the history
Co-authored-by: Kuchenpirat <[email protected]>
  • Loading branch information
michael-genson and Kuchenpirat authored Dec 11, 2024
1 parent 285ccb4 commit cc37147
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions frontend/components/global/SafeMarkdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,20 @@ export default defineComponent({
},
});
</script>

<style scoped>
::v-deep table {
border-collapse: collapse;
width: 100%;
}
::v-deep th, ::v-deep td {
border: 1px solid;
padding: 8px;
text-align: left;
}
::v-deep th {
font-weight: bold;
}
</style>

0 comments on commit cc37147

Please sign in to comment.