From 27e470152ec0800fcd53f7a551cbd2c1be2c7720 Mon Sep 17 00:00:00 2001 From: rutik wankhade Date: Sat, 9 Apr 2022 09:39:45 +0530 Subject: [PATCH] fix: fix shadow issue and update elements --- src/components/ComponentToImg.js | 4 ++-- src/components/ConfigCover.css | 11 ++++++++++- src/components/ConfigCover.js | 12 ++++++------ src/components/CoverImage.css | 2 +- 4 files changed, 19 insertions(+), 10 deletions(-) diff --git a/src/components/ComponentToImg.js b/src/components/ComponentToImg.js index 5c09dc5..5d5250f 100644 --- a/src/components/ComponentToImg.js +++ b/src/components/ComponentToImg.js @@ -14,10 +14,10 @@ class ComponentToImg extends React.Component { // eslint-disable-next-line default-case switch (this.props.downloadAs) { case "PNG": - downloadButton = ; + downloadButton = ; break; case "JPEG": - downloadButton = ; + downloadButton = ; } // console.log(downloadButton); diff --git a/src/components/ConfigCover.css b/src/components/ConfigCover.css index 6b99430..27fe610 100644 --- a/src/components/ConfigCover.css +++ b/src/components/ConfigCover.css @@ -66,10 +66,19 @@ label{ } input { margin: 4px; - text-align: center; + background-color: #f2f2f2; + } +.input-title{ + margin:5px; + background-color: #f2f2f2; +} +.input-author{ + background-color: #f2f2f2; + +} .input-md{ width:100px; diff --git a/src/components/ConfigCover.js b/src/components/ConfigCover.js index 5c96ff3..88549a6 100644 --- a/src/components/ConfigCover.js +++ b/src/components/ConfigCover.js @@ -44,17 +44,17 @@ class ConfigCover extends React.Component {

🛠 Creating cover images for your blogs is now super easy

- this.setState({ title: e.target.value })} - > + /> this.setState({ author: e.target.value })} > @@ -114,7 +114,7 @@ class ConfigCover extends React.Component { />
-
+ {/*
Download As
-
+
*/}