File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ to augment IPv4 with Network and Netmask visualization
77 import Bits from ' ../parts/Bits.svelte' ;
88 import { getBaseLog } from ' @lib/math' ;
99 import { newAddressFrom } from ' @lib/ipv4' ;
10+ import PartialTransition from ' @components/parts/PartialTransition.svelte' ;
1011 export let length = 32 ;
1112 export let address = 0xffffffff ;
1213 export let prefix = 0xffffffff ;
@@ -92,7 +93,10 @@ to augment IPv4 with Network and Netmask visualization
9293 disabledBits ={~ mask >>> 0 }
9394/>
9495<small class =" mx-2 text-gray-600 absolute mt-0.6" >
95- <pre class =" text-gray-400 inline-block" >IP & Netmask = </pre >
96- <pre class ="inline-block text-cyan" >Network: {renderedNetwork }</pre >
96+ <pre class =" text-gray-400 inline-block lt-xs:hidden" >IP & Netmask = </pre >
97+ <pre class =" inline-block text-cyan" >Network:</pre >
98+ <div class =" inline-block text-cyan" >
99+ <PartialTransition notation ={renderedNetwork } />
100+ </div >
97101</small >
98102<small class =" opacity-0" >placeholder</small >
You can’t perform that action at this time.
0 commit comments