From b2a1fbb83beab6c81bef934128b98d73bd346905 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Tue, 20 Sep 2022 11:09:18 +0200 Subject: [PATCH] Center Globe horizontally --- src/style/modules/_globe2.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/style/modules/_globe2.scss b/src/style/modules/_globe2.scss index e0af23a..45ffb9c 100644 --- a/src/style/modules/_globe2.scss +++ b/src/style/modules/_globe2.scss @@ -9,8 +9,8 @@ &__inner { position: relative; width: var(--width); - margin-left: auto; - margin-right: auto; + left: 50%; + transform: translateX(-50%); &:after { content: "";