diff options
| author | Haishan <[email protected]> | 2019-02-11 22:24:56 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2019-02-11 22:38:20 +0800 |
| commit | 03e46d909685bbeba8a0fe50e11a6e3fa970bd55 (patch) | |
| tree | 4ca7d2922cd57d9451b48f0f7c1ff08711d5ab4c /src/components/Proxy.js | |
| parent | f364975545806bd98ca1e001e92f296c308f18c5 (diff) | |
style: new layout for proxy item
also:
- speed up proxy item on hover scale up animation
- reduce icons stroke width
Diffstat (limited to 'src/components/Proxy.js')
| -rw-r--r-- | src/components/Proxy.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Proxy.js b/src/components/Proxy.js index d1959d0..3d22ade 100644 --- a/src/components/Proxy.js +++ b/src/components/Proxy.js @@ -57,10 +57,10 @@ function Proxy({ now, name }) { return ( <div className={s0.proxy}> - <div className={s0.left} style={{ color }}> - <Icon id={iconId} width={80} height={80} /> + <div className={s0.iconWrapper} style={{ color }}> + <Icon id={iconId} width={70} height={70} /> </div> - <div className={s0.right}> + <div className={s0.proxyDetail}> <div className={s0.proxyName}>{name}</div> {latency ? <ProxyLatency latency={latency} /> : null} </div> |
