From baae11c95772c01fd7ee6143fb5fe02ca54f2859 Mon Sep 17 00:00:00 2001 From: Roman Munteanu Date: Wed, 9 Oct 2019 21:42:58 +0200 Subject: [PATCH] Fixes #2955 - Move the no-top-padding class to the codebase of the experiment --- webcompat/static/css/src/issue-wizard.css | 12 +++++------- webcompat/templates/layout.html | 4 +--- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/webcompat/static/css/src/issue-wizard.css b/webcompat/static/css/src/issue-wizard.css index c71ba2cbb..ddc16aa30 100644 --- a/webcompat/static/css/src/issue-wizard.css +++ b/webcompat/static/css/src/issue-wizard.css @@ -18,10 +18,6 @@ --presumed-step-height-updown: -230px; } -#body-webcompat.no-top-padding { - padding-top: 0; -} - #js-ReportForm { overflow: hidden; padding: 40px 10px 0; @@ -49,15 +45,17 @@ .issue-form { background: transparent; + margin-top: 35px; } #wizard-container { background-color: var(--base-colorDark); display: flex; justify-content: space-evenly; + margin-top: -35px; padding: 1rem 0; - position: sticky; - top: 39px; + position: fixed; + top: 75px; transform: none; transition: top 400ms ease; width: 100%; @@ -65,7 +63,7 @@ } #wizard-container.is-offscreen { - top: 0; + top: 35px; } #wizard-container .grid { diff --git a/webcompat/templates/layout.html b/webcompat/templates/layout.html index 847c24803..c2d096919 100644 --- a/webcompat/templates/layout.html +++ b/webcompat/templates/layout.html @@ -13,9 +13,7 @@ {% block extracss %}{% endblock %} - + {% include "shared/svg-icons.html" %} {% block body %}{% endblock %} {% include "shared/footer.html" %}