From 67506d28bf523c09c8bb432ddd11547f16838444 Mon Sep 17 00:00:00 2001 From: Thomas Wade Date: Thu, 25 Oct 2018 12:36:53 +1030 Subject: [PATCH] Replace all `vw`s with `%`s --- styles/default.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/styles/default.css b/styles/default.css index 1d026f9..b97906c 100644 --- a/styles/default.css +++ b/styles/default.css @@ -34,7 +34,8 @@ a width: 800px; min-height: calc(100vh - 120px); - margin-left: calc(50vw - 400px); + margin-right: auto; + margin-left: auto; padding-top: 100px; } @@ -46,7 +47,7 @@ a z-index: 10; top: 0; - width: 100vw; + width: 100%; height: 70px; vertical-align: middle;