Skip to content

Commit b0436d9

Browse files
Merge pull request #290 from jonathanhefner/code-snippets-reduce-padding
Reduce padding of code blocks
2 parents 9cd238e + d7afa6c commit b0436d9

File tree

1 file changed

+2
-2
lines changed
  • lib/rdoc/generator/template/rails/resources/css

1 file changed

+2
-2
lines changed

lib/rdoc/generator/template/rails/resources/css/main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,8 @@ html {
518518

519519
.method__source pre,
520520
.description pre {
521-
padding: 0.5em 1em;
522-
border-radius: 8px;
521+
padding: 0.5ch 1ch;
522+
border-radius: 4px;
523523
overflow-x: auto;
524524
}
525525

0 commit comments

Comments
 (0)