Skip to content

Commit 9e942db

Browse files
authored
fix(www): Add padding to code snippets (#4812)
Closes #4811
1 parent 9b82e67 commit 9e942db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

projects/www/src/app/components/docs/markdown-article.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ type Heading = { level: number; text: string; id: string; url: string };
114114
article ::ng-deep table td code {
115115
white-space: nowrap;
116116
}
117+
118+
article ::ng-deep pre:has(code) {
119+
padding: 16px 20px;
120+
}
117121
`,
118122
],
119123
})

0 commit comments

Comments
 (0)