Skip to content

Commit 625710b

Browse files
committed
18.6
[general] - minor tweaks to enhance pagespeed results
1 parent 184a0fd commit 625710b

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/content/collections/webutils/img.njk

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{% addScript 'img' %}
22
{% addStyle 'webutils' %}
33

4-
<span class="info">convert </span>
4+
<label for="img-input" class="info">convert </label>
55
<input type="file" id="img-input" accept="image/png, image/jpeg, image/svg+xml, image/webp, image/ico, image/bmp" />
6-
<span class="info"> to </span>
6+
<label for="img-format" class="info"> to </label>
77
<select id="img-format">
88
<option value="png">png</option>
99
<option value="jpeg">jpg</option>
@@ -12,7 +12,7 @@
1212
<option value="bmp">bmp</option>
1313
</select>
1414
<span id="img-formatInfo" class="warning hidden" title="not supported by all browsers & platforms">⚠️</span>
15-
<br>
15+
<br> <br>
1616
<table id="img-options" class="disabled">
1717
<caption>options</caption>
1818
<thead hidden>
@@ -22,18 +22,18 @@
2222
</tr>
2323
</thead>
2424
<tr id="quality">
25-
<td class="info">quality</td>
25+
<td><label for="qualitySlider" class="info">quality</label></td>
2626
<td>
2727
<input type="range" min="0" max="100" value="100" step="10" id="qualitySlider" disabled />
2828
<span id="qualityValue">loseless</span>
2929
</td>
3030
</tr>
3131
<tr id="width">
32-
<td class="info">width</td>
32+
<td><label for="widthInput" class="info">width</label></td>
3333
<td><input type="number" min="0" max="5000" value="0" id="widthInput" disabled /> px</td>
3434
</tr>
3535
<tr id="height">
36-
<td class="info">height</td>
36+
<td><label for="heightInput" class="info">height</label></td>
3737
<td><input type="number" min="0" max="5000" value="0" id="heightInput" disabled /> px</td>
3838
</tr>
3939
<tr id="keepRatioRow">

src/static/css/app/backup.sass

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ h2, h3
44
margin-top: 2em
55

66
#subjects
7-
font-size: 1.1em
8-
line-height: 1.75em
7+
font-size: 1.15em
8+
9+
ul, ol
10+
line-height: 1.8em
911

1012
a // subjects
1113
font-weight: bold

src/static/css/app/webutils.sass

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ body
3434
font-style: italic
3535

3636
table td:nth-child(2) input
37-
width: 60px
37+
width: 65px
38+
margin: 5px
3839

3940
#img-canvas
40-
width: 50%
41+
width: 70%
4142
height: auto

0 commit comments

Comments
 (0)