Skip to content

Commit af68b8c

Browse files
committed
Weaken the bg color of small text inputs on IPv4
1 parent c51f3b3 commit af68b8c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/blend/IPv4.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Represent IPv4 address including prefix notation
5050
{min}
5151
{max}
5252
strictRangeOnInput={true}
53-
class="text-center w-12 lt-sm:w-10 lt-xs:w-8 input-number-hide-arrows bg-gray-100 rounded font-mono"
53+
class="text-center w-12 lt-sm:w-10 lt-xs:w-8 input-number-hide-arrows bg-gray-50 rounded font-mono"
5454
value={octet}
5555
on:change={(e) => onChange(idx, e)}
5656
/>
@@ -64,7 +64,7 @@ Represent IPv4 address including prefix notation
6464
min={0}
6565
max={31}
6666
strictRangeOnInput={true}
67-
class="text-center w-8 mt-1 bg-gray-100 rounded input-number-hide-arrows font-mono"
67+
class="text-center w-8 mt-1 bg-gray-50 rounded input-number-hide-arrows font-mono"
6868
bind:value={prefix}
6969
/>
7070
</div>

src/components/blend/IPv4Network.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ to augment IPv4 with Network and Netmask visualization
7171
</div>
7272
</small>
7373
</div>
74-
<small class="opacity-0"><pre>placeholder</pre></small>
74+
<small><pre class="opacity-0">placeholder</pre></small>
7575
<div class="relative">
7676
<div class="absolute w-full h-full rounded-b overflow-clip z--10">
7777
<div class="h-full bg-gray-200" style:width={`${(prefix / 32) * 100}%`} />
@@ -100,7 +100,7 @@ to augment IPv4 with Network and Netmask visualization
100100
</div>
101101
<pre class="text-gray-400 inline-block lt-xs:hidden">= Address & Netmask</pre>
102102
</small>
103-
<small class="opacity-0"><pre>placeholder</pre></small>
103+
<small><pre class="opacity-0">placeholder</pre></small>
104104
</div>
105105
<Bits
106106
hideHeader={true}

0 commit comments

Comments
 (0)