From a83f365b2ad163a3e0245179e05d8c7ac23d6e49 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 25 Aug 2019 17:23:17 -0700 Subject: [PATCH] Use #content_body grid-column-gap instead of #left, #right margin. --- frontends/etiquette_flask/static/css/common.css | 10 ++-------- frontends/etiquette_flask/templates/tags.html | 4 ---- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/frontends/etiquette_flask/static/css/common.css b/frontends/etiquette_flask/static/css/common.css index 340ff5d..8fa7388 100644 --- a/frontends/etiquette_flask/static/css/common.css +++ b/frontends/etiquette_flask/static/css/common.css @@ -122,12 +122,14 @@ pre grid-template: "left right" /var(--size_sticky_side) 1fr; + grid-column-gap: 8px; } #content_body.sticky_side_right { grid-template: "left right" /1fr var(--size_sticky_side); + grid-column-gap: 8px; } #content_body.sticky_side_left #left, @@ -146,14 +148,6 @@ pre overflow-y: auto; background-color: var(--color_site_transparency); } -#content_body.sticky_side_right #left -{ - margin-right: 8px; -} -#content_body.sticky_side_left #right -{ - margin-left: 8px; -} #content_body.sticky_side_left #left { left: 8px; diff --git a/frontends/etiquette_flask/templates/tags.html b/frontends/etiquette_flask/templates/tags.html index 207220f..d5bbcea 100644 --- a/frontends/etiquette_flask/templates/tags.html +++ b/frontends/etiquette_flask/templates/tags.html @@ -26,10 +26,6 @@ h2, h3 { grid-area: header; } -#left -{ - margin-right: 8px; -} #left > * { background-color: var(--color_site_transparency);