From 7dac1d44c7b13184e4a1cbdb4113df2bb8db9d7e Mon Sep 17 00:00:00 2001 From: Haishan Date: Sun, 14 Apr 2019 22:56:14 +0800 Subject: refactor: replace sass with postcss --- src/components/Proxy.module.css | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/components/Proxy.module.css (limited to 'src/components/Proxy.module.css') diff --git a/src/components/Proxy.module.css b/src/components/Proxy.module.css new file mode 100644 index 0000000..df6fcae --- /dev/null +++ b/src/components/Proxy.module.css @@ -0,0 +1,32 @@ +.proxy { + position: relative; + height: 90px; +} + +.iconWrapper { + position: absolute; + bottom: 0; + left: 20%; + + display: flex; + align-items: center; + justify-content: center; +} + +.proxyDetail { + position: absolute; + top: 0; + left: 0; + + width: 100%; + height: 100%; +} + +.proxyName { + width: 100%; + padding-right: 20px; + overflow: hidden; + text-overflow: ellipsis; + margin: 10px 0; + font-size: 1.1em; +} -- cgit v1.3.1