From f778f9ee351fcb61684ca3071568204ea8fdb0dc Mon Sep 17 00:00:00 2001 From: Janne Koivistoinen Date: Wed, 20 Dec 2017 13:53:56 +0200 Subject: [PATCH] position sticky and h1 margin-top fixes --- src/components/TransactionPanel/TransactionPanel.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/TransactionPanel/TransactionPanel.css b/src/components/TransactionPanel/TransactionPanel.css index d7600c8c..b5cc2edb 100644 --- a/src/components/TransactionPanel/TransactionPanel.css +++ b/src/components/TransactionPanel/TransactionPanel.css @@ -105,7 +105,7 @@ @media (--viewportLarge) { max-width: 100%; - margin: 177px 0 0 0; + margin: 152px 0 0 0; } } @@ -166,7 +166,7 @@ display: none; position: sticky; - top: -272px; /* This is a hack to showcase how the component would look when the image isn't sticky */ + top: -200px; /* This is a hack to showcase how the component would look when the image isn't sticky */ width: 409px; background-color: var(--matterColorLight); border: 1px solid var(--matterColorNegative);