Chore/fix code padding (#29399)

Address the indecency of the unbalanced padding on code blocks
This commit is contained in:
Terry Sutton authored and GitHub committed 2024-09-19 16:03:25 -02:30
1 parent dfda9da26d
commit 723b188cec
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -327,7 +327,7 @@ const uiConfig = {
// },
'.text-code': {
margin: '0 0.2em',
padding: '0.2em 0.4em 0.1em',
padding: '0.05em 0.4em 0.05em',
background: 'hsla(0, 0%, 58.8%, 0.1)',
border: '1px solid hsla(0, 0%, 39.2%, 0.2)',
borderRadius: '3px',
@@ -57,7 +57,7 @@ mark.sbui-typography-text {
code.sbui-typography-text {
/* margin: 0 .2em; */
padding: 0.2em 0.4em 0.1em;
padding: 0.05em 0.4em 0.05em;
/* font-size: 85%; */
background: hsla(0, 0%, 58.8%, 0.1);
border: 1px solid hsla(0, 0%, 39.2%, 0.2);
@@ -30,7 +30,7 @@
} */
.sbui-typography code {
padding: 0.2em 0.4em 0.1em;
padding: 0.05em 0.4em 0.05em;
background: hsla(0, 0%, 58.8%, 0.1);
border: 1px solid hsla(0, 0%, 39.2%, 0.2);
border-radius: 3px;