fix markdown content (#11177)

This commit is contained in:
Germain 2023-07-03 16:07:30 +01:00 committed by GitHub
parent e6460daae5
commit 880d9b1004
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -52,7 +52,7 @@ limitations under the License.
} }
/** /**
* We need to increase the specificity of the selector to override the * We need to increase the specificity of the selector to override the
* custom property set by the design tokens package * custom property set by the design tokens package
*/ */
[class^="cpd-theme"][class^="cpd-theme"] { [class^="cpd-theme"][class^="cpd-theme"] {
@ -352,6 +352,9 @@ legend {
.markdown-body { .markdown-body {
font: var(--cpd-font-body-md-regular) !important; font: var(--cpd-font-body-md-regular) !important;
letter-spacing: var(--cpd-font-letter-spacing-body-md); letter-spacing: var(--cpd-font-letter-spacing-body-md);
font-family: inherit !important;
white-space: normal !important;
line-height: inherit !important;
color: inherit; /* inherit the colour from the dark or light theme by default (but not for code blocks) */ color: inherit; /* inherit the colour from the dark or light theme by default (but not for code blocks) */
pre, pre,

View file

@ -698,6 +698,9 @@ $left-gutter: 64px;
.markdown-body { .markdown-body {
font: var(--cpd-font-body-md-regular) !important; font: var(--cpd-font-body-md-regular) !important;
letter-spacing: var(--cpd-font-letter-spacing-body-md); letter-spacing: var(--cpd-font-letter-spacing-body-md);
font-family: inherit !important;
white-space: normal !important;
line-height: inherit !important;
color: inherit; /* inherit the colour from the dark or light theme by default (but not for code blocks) */ color: inherit; /* inherit the colour from the dark or light theme by default (but not for code blocks) */
pre, pre,