Skip to content

Commit cb9c18b

Browse files
committed
Style updates
Regenerate command reference Regenerate css Update pre code to scroll
1 parent c498895 commit cb9c18b

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

command-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ What each `gem` command does, and how to use it.
1515
<em class="t-gray">What each `gem` command does, and how to use it.</em>
1616
>>>>>>> Add redesign styles for guides
1717
18-
This reference was automatically generated from RubyGems version 2.4.2.
18+
This reference was automatically generated from RubyGems version 2.2.0.
1919

2020
* [gem build](#gem-build)
2121
* [gem cert](#gem-cert)

stylesheets/_type.scss

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -248,16 +248,13 @@ a.t-list__item {
248248

249249
pre {
250250
padding: 30px;
251-
overflow: auto;
251+
overflow-x: scroll;
252252
border-radius: 5px;
253253
color: $white;
254254
code {
255-
// TODO fix undo-ing style
256-
padding: {
257-
right: 0;
258-
left: 0;
259-
}
255+
overflow-x: scroll;
260256
line-height: 1.33;
257+
word-break: normal;
261258
}
262259
}
263260

stylesheets/application.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,13 +340,13 @@ a.t-list__item {
340340
border-left: none; }
341341
.t-body pre {
342342
padding: 30px;
343-
overflow: auto;
343+
overflow-x: scroll;
344344
border-radius: 5px;
345345
color: white; }
346346
.t-body pre code {
347-
padding-right: 0;
348-
padding-left: 0;
349-
line-height: 1.33; }
347+
overflow-x: scroll;
348+
line-height: 1.33;
349+
word-break: normal; }
350350
.t-body code {
351351
font-weight: bold;
352352
font-family: "courier", monospace;
@@ -366,6 +366,8 @@ a.t-list__item {
366366
margin-right: 5px;
367367
font-weight: 800;
368368
content: counter(counter,decimal) ". "; }
369+
.t-body li {
370+
word-wrap: break-word; }
369371
.t-body img {
370372
margin-right: 12px;
371373
height: 32px;

0 commit comments

Comments
 (0)