From 5b7cc868131d13f0a4085fcdc5c1a974a03a27ae Mon Sep 17 00:00:00 2001 From: Mark Striemer Date: Wed, 1 Jun 2016 23:33:10 -0500 Subject: [PATCH 1/2] To the left, to the left (fixes #493) --- src/disco/css/App.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/disco/css/App.scss b/src/disco/css/App.scss index 7077868748e..168a704022d 100644 --- a/src/disco/css/App.scss +++ b/src/disco/css/App.scss @@ -12,6 +12,9 @@ body { "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 14px; + // Firefox adds this margin to the left side, for some reason we only need to add half of it. + $firefox-margin: 48px; + margin-right: $firefox-margin / 2; } * { From f9dc1d00f0ebb5d9c3aa6c125d262fbb89361980 Mon Sep 17 00:00:00 2001 From: Mark Striemer Date: Thu, 2 Jun 2016 09:48:24 -0500 Subject: [PATCH 2/2] Only apply the margin to body --- src/disco/css/App.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/disco/css/App.scss b/src/disco/css/App.scss index 168a704022d..b6603bcb2f5 100644 --- a/src/disco/css/App.scss +++ b/src/disco/css/App.scss @@ -12,9 +12,11 @@ body { "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 14px; - // Firefox adds this margin to the left side, for some reason we only need to add half of it. - $firefox-margin: 48px; - margin-right: $firefox-margin / 2; +} + +body { + // Match firefox's left margin to keep the content centered. + margin-right: 48px; } * {