Skip to content

Commit 7bce47f

Browse files
authored
Fixes to the new fold
... I might be testing in production. Maybe.
1 parent cc1b415 commit 7bce47f

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,15 @@ <h3 id="olympus">Olympus - Cross-platform Everest Installer</h3>
142142
<ul id="mac-instructions-fold">
143143
<li>
144144
Running Olympus will probably result in this error showing up. Close it by clicking "Done".
145-
<img src="/images/olympus-run-macos-1.png" class="halfwidth">
145+
<div><img src="/images/olympus-run-macos-1.png" class="halfwidth"></div>
146146
</li>
147147
<li>
148148
Then, open the Settings app, select "Privacy & Security" and scroll down until you see a notice about Olympus. Open it anyway!
149-
<img src="/images/olympus-run-macos-2.png">
149+
<div><img src="/images/olympus-run-macos-2.png"></div>
150150
</li>
151151
<li>
152152
Go through this final warning by clicking "Open Anyway" again. You might need to type your password to finish the process.
153-
<img src="/images/olympus-run-macos-3.png" class="halfwidth">
153+
<div><img src="/images/olympus-run-macos-3.png" class="halfwidth"></div>
154154
</li>
155155
</ul>
156156
</li>

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@
8686
// unfold
8787
icon.innerText = "-";
8888
fold.style.display = "block";
89-
folded = true;
89+
folded = false;
9090
} else {
9191
// fold
9292
icon.innerText = "+";
9393
fold.style.display = "none";
94-
folded = false;
94+
folded = true;
9595
}
9696
};
9797

main/style.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,11 @@ a.button:hover, a.button:focus, a.button:active {
289289
max-width: calc(100vw - 64px);
290290
}
291291

292+
#mac-instructions-fold div {
293+
text-align: center;
294+
}
292295
#mac-instructions-fold img {
293-
display: block;
294296
max-width: 100%;
295-
text-align: center;
296297
}
297298
#mac-instructions-fold img.halfwidth {
298299
max-width: 50%;

0 commit comments

Comments
 (0)