From 54dd419ce493a6b931e1a6a8f6143178aacee913 Mon Sep 17 00:00:00 2001 From: irmerk Date: Tue, 17 Dec 2019 17:49:00 -0500 Subject: [PATCH] fix(ErrorLogger): correct placement Signed-off-by: irmerk --- package-lock.json | 2 +- package.json | 2 +- src/ErrorLogger/styles.js | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 799e2029..c672a2a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@accordproject/cicero-ui", - "version": "0.3.8", + "version": "0.3.9", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 7efb81bd..95aefaba 100644 --- a/package.json +++ b/package.json @@ -110,4 +110,4 @@ "/src/**/?(*.)(spec|test).{js,jsx,mjs}" ] } -} \ No newline at end of file +} diff --git a/src/ErrorLogger/styles.js b/src/ErrorLogger/styles.js index 45c28f53..6ef26149 100644 --- a/src/ErrorLogger/styles.js +++ b/src/ErrorLogger/styles.js @@ -22,6 +22,8 @@ export const ErrorsHeader = styled.div` position: fixed; transition: 1s; padding: 0.1em 0.1em 0.1em 1em; + bottom: 0; + height: 25px; display: ${props => (props.errors ? 'inline' : 'none')}; background-color: ${props => props.headerBackground || '#1E2D53'}; box-shadow: ${props => props.headerShadow || '0 -2px 20px 0 rgba(20,31,60,0.65)'};