Skip to content

Commit

Permalink
make the formula multi-line and easier to read
Browse files Browse the repository at this point in the history
  • Loading branch information
alexewerlof committed Sep 20, 2023
1 parent 7c1988a commit b3c8162
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions code.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ code .const {
align-self: center;
}

.formula_break {
flex-basis: 100%;
height: 0;
}

/* a two cell column */
.formula_fraction {
display: flex;
Expand Down
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ <h2>
<span class="const">100</span>
</code>
</div>
<div class="formula_break"></div>
<div class="formula_chunk">
<code>
<span class="punct">=</span>
Expand Down Expand Up @@ -700,7 +701,7 @@ <h3>
{{ alert.longWindowPerc }}
</span>
<span class="punct">%</span>
<span class="funct"> of </span>
<span class="funct"> × </span>
<span class="const">
{{ sloWindow.humanSec }}
</span>
Expand Down

0 comments on commit b3c8162

Please sign in to comment.