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:
@@ -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;
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user