Skip to content

Commit 9e4312d

Browse files
committed
Improve install instructions
- moving prompt sign to before pseudoelement
1 parent f554c8b commit 9e4312d

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

micro_files/micro.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ p.lead {
105105
margin: 40px 0;
106106
margin-top: 0;
107107
margin-bottom: 0;
108-
color: #2F3590;
108+
color: #2F3590;
109109
}
110110
.getting-involved {
111111
margin: 40px 0;
@@ -132,3 +132,7 @@ p.lead {
132132
border-radius: 5px;
133133
}
134134

135+
.install-instructions::before {
136+
content: "$ ";
137+
display: inline;
138+
}

micro_files/plugin-search.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ const template = ({ name, description, versions, website, tags, collapsed }) =>
6767
</p>
6868
`)}
6969
<p>To install this plugin, run the following command from your CLI</p>
70-
<div class="well"><code>$ micro -plugin install ${name}</code></div>
70+
<div class="well">
71+
<code class="install-instructions">micro -plugin install ${name}</code>
72+
</div>
7173
</div>
7274
</div>
7375
</div>

0 commit comments

Comments
 (0)