Skip to content

Commit fa1e64d

Browse files
committed
Dropped side-by-side layout on getting_started
This already didn't look great with only three options, and larger font sizes made it more awkward.
1 parent 86f1f68 commit fa1e64d

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

css/_scss/getting_started.scss

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
@import 'constants';
33

44
.option {
5-
width: 45%;
6-
margin-bottom: 20px;
5+
width: 100%;
6+
margin-bottom: 30px;
77

88
h2 {
99
font-size: 1.1rem;
@@ -18,7 +18,6 @@
1818

1919
pre {
2020
@include light-code();
21-
font-size: 14px; // make things fit
2221
padding: 10px;
2322
margin-bottom: 1rem;
2423
}

pages/getting_started.html

+2-6
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,11 @@ <h2>Jasmine for Node.js</h2>
2828
<div class="option">
2929
<h2>Jasmine for Browsers</h2>
3030
<p>Add Jasmine to your package.json</p>
31-
<pre>npm install --save-dev \
32-
jasmine-browser-runner \
33-
jasmine-core</pre>
31+
<pre>npm install --save-dev jasmine-browser-runner jasmine-core</pre>
3432
<p>Initialize Jasmine in your project</p>
3533
<pre>npx jasmine-browser-runner init</pre>
3634
<p>Set jasmine as your test script in your package.json</p>
37-
<pre>"scripts": {
38-
"test": "jasmine-browser-runner runSpecs"
39-
}</pre>
35+
<pre>"scripts": {"test": "jasmine-browser-runner runSpecs"}</pre>
4036
<p>Run your tests</p>
4137
<pre>npm test</pre>
4238
<p>

0 commit comments

Comments
 (0)