Merge pull request #22155 from luis-k0/feat/markdown-table-code-keep-all

Avoid code word break in techdocs tables to improve visualization
This commit is contained in:
John Philip
2024-01-29 16:07:17 -05:00
committed by GitHub
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs': minor
---
Updated the styling for <code> tags to avoid word break.
@@ -115,4 +115,8 @@ ${headings.reduce<string>((style, heading) => {
.md-typeset pre > code::-webkit-scrollbar-thumb:hover {
background-color: hsla(0, 0%, 0%, 0.87);
}
.md-typeset code {
word-break: keep-all;
}
`;