Skip to content

Commit 9e4a2da

Browse files
authored
Merge branch 'master' into add-active-record-version
2 parents f64b204 + 0d27ffd commit 9e4a2da

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

app/assets/stylesheets/reference.scss

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,21 @@ h3.plumbing {
136136
@include border-bottom-left-radius(3px);
137137
@include border-bottom-right-radius(3px);
138138

139-
input {
140-
width: 70px;
141-
padding: 1px 3px;
142-
font-size: 11px;
143-
color: $font-color;
144-
background-color: #f0efe8;
145-
border: solid 1px #e2e0d8;
146-
@include border-radius(1px);
139+
p {
140+
// `all` and `display` are for overriding the global style defined
141+
// for <p> at the beginning of "typography.scss".
142+
all: unset;
143+
display: block;
144+
color: $light-font-color;
145+
}
146+
147+
code {
148+
user-select: all;
149+
}
150+
151+
span.prompt {
152+
user-select: none;
153+
font-weight: bold;
147154
}
148155
}
149156
}

app/views/doc/_versions.html.erb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
<!-- <li><a class="more" href="#">See more previous releases →</a></li> -->
3535
</ol>
3636
<footer>
37-
<span class="light">Check your version of git by running<br></span>
38-
<strong>$</strong>
39-
<input readonly type="text" class="copyable" value="git --version" />
37+
<p>Check your version of git by running</p>
38+
<code><span class="prompt">$ </span>git --version</code>
4039
</footer>
4140
</div>

0 commit comments

Comments
 (0)