Skip to content

Commit 80c2ca7

Browse files
committed
style: add indentation to method description
1 parent cd1e79b commit 80c2ca7

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

src/_sass/railsdoc.scss

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,17 @@ code {
170170
}
171171
}
172172

173-
// FIXME: Wrap method with `code` tag in sdoc
174173
.method {
175-
h3 {
176-
font-family: monospace;
177-
font-size: 1.3rem;
178-
}
174+
h3 {
175+
font-family: monospace;
176+
font-size: 1.3rem;
177+
}
178+
179+
.description,
180+
.method__aka,
181+
.method__source {
182+
margin-left: 1em;
183+
}
179184
}
180185

181186
#content {

0 commit comments

Comments
 (0)