From a957c0c4f3ced550da2aaf32612b37806f443874 Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Mon, 8 Jan 2018 00:32:02 +0100 Subject: [PATCH] style error --- client/src/Preview.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/client/src/Preview.js b/client/src/Preview.js index 12cebc7..5be6249 100644 --- a/client/src/Preview.js +++ b/client/src/Preview.js @@ -3,13 +3,20 @@ import React from 'react'; export default props => { if (props.pdfIsLoading) { return ( -
Lade...
+
Lade…
); } + const errorStyles = { + padding: '6px 12px', + color: 'white', + backgroundColor: '#d81e1e', + borderRadius: '3px', + }; + if (props.pdfError) { return ( -
{props.pdfError}
+
 {props.pdfError}
); }