From 32f18e191a6dd0c7d66401a564d68286b4022e51 Mon Sep 17 00:00:00 2001 From: Haishan Date: Thu, 14 May 2020 23:32:20 +0800 Subject: chore: tweak external controller setup modal style --- src/components/APIDiscovery.module.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/components/APIDiscovery.module.css') diff --git a/src/components/APIDiscovery.module.css b/src/components/APIDiscovery.module.css index 87357ce..b0f6486 100644 --- a/src/components/APIDiscovery.module.css +++ b/src/components/APIDiscovery.module.css @@ -9,15 +9,16 @@ transform: none; padding: 0; border-radius: 0; + + display: flex; + justify-content: center; } .container { - position: absolute; + position: relative; top: 10%; - left: 50%; - transform: translate(-50%, 0); - max-width: 376px; - margin: 0 auto; + margin-left: 20px; + margin-right: 20px; } .overlay { -- cgit v1.3.1