From ccc25f525a15dd7adb256b9d0dc355805d4dfe71 Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Fri, 19 Apr 2019 23:43:01 -0400 Subject: [PATCH] fix positioning of logo outline --- site/src/routes/index.svelte | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/site/src/routes/index.svelte b/site/src/routes/index.svelte index d3540da9c4..dd5dcd3831 100644 --- a/site/src/routes/index.svelte +++ b/site/src/routes/index.svelte @@ -56,7 +56,7 @@ .logo { position: absolute; top: -4rem; - right: 4rem; + right: 0rem; width: 52rem; will-change: transform; display: none; @@ -127,6 +127,12 @@ align-items: start; } } + + @media (min-width: 1200px) { + .logo { + right: calc(50vw - 60rem); + } + }