Skip to content

Commit 72daef1

Browse files
committed
📚 Fix rdoc method source styles
Changing `min-content` to `auto` is the big change here. Also, I'd used the wrong syntax for `grid-area`, but I didn't need that anyway.
1 parent 13feeaf commit 72daef1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

docs/styles.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77
main .method-detail {
88
display: grid;
9-
grid-template-areas: "header controls"
10-
"description description";
11-
grid-template-columns: 1fr min-content;
9+
grid-template-columns: 1fr auto;
1210
justify-content: space-between;
1311
}
1412

@@ -20,19 +18,16 @@ main .method-header, main .method-controls {
2018
}
2119

2220
main .method-header {
23-
grid-area: "header";
2421
border-right: none;
2522
border-radius: 4px 0 0 4px;
2623
}
2724

2825
main .method-controls {
29-
grid-area: "controls";
3026
border-left: none;
3127
border-radius: 0 4px 4px 0;
3228
}
3329

3430
main .method-description, main .aliases {
35-
grid-area: "description";
3631
grid-column: 1 / span 2;
3732
padding-left: 1em;
3833
}

0 commit comments

Comments
 (0)