Skip to content

Commit 99fd4c0

Browse files
authored
Merge pull request rails#52276 from andycroll/guides-h2-code-css
Guides CSS to format code tags in h2 headings [ci skip]
2 parents ef08762 + 6fc58b8 commit 99fd4c0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

guides/assets/stylesrc/_main.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,11 @@ body.guide {
144144
a:visited {
145145
color: $rf-brand;
146146
} // a, a:link, a:visited
147+
148+
code {
149+
font-size: 2rem;
150+
font-weight: 400;
151+
}
147152
} // h2
148153

149154
h3 {

0 commit comments

Comments
 (0)