Skip to content

Commit 965927e

Browse files
update inline code formatting (#89)
* update inline code formatting * increase line height to prevent inline code from overlapping
1 parent c72c6fc commit 965927e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

ui/src/css/doc.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,11 @@
145145
.doc thead code,
146146
.doc .colist > table code {
147147
color: var(--code-font-color);
148-
background: var(--code-background);
149-
border-radius: 0.25em;
148+
background: #F7F7F7;
149+
border-radius: 4px;
150+
border: 1px solid #D4D4D4;
150151
font-size: 0.95em;
151-
padding: 0.125em 0.25em;
152+
padding: 0.15em 0.4em;
152153
}
153154

154155
.doc code,

ui/src/css/vars.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
--doc-font-color: #343434;
7878
--doc-font-size: 16px;
7979
--doc-font-size--desktop: 16px;
80-
--doc-line-height: 1.6;
80+
--doc-line-height: 1.7;
8181
--doc-margin: 0 auto;
8282
--doc-margin--desktop: 0 2rem;
8383
--heading-font-color: #161616;

0 commit comments

Comments
 (0)