aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBen Woodward <ben@bdw.to>2021-07-29 09:35:14 -0700
committerGitHub <noreply@github.com>2021-07-29 09:35:14 -0700
commit00ff350cd7b84509e1e20d05ce36b87f3b8bc70f (patch)
tree74f8e81e3c56ba4631f0c617a8e1dc9878381e45 /src
parent7c2071fbb3123be66d4468465e7528973e295918 (diff)
QR Code sharpness (#139)
* resolved issue #82 * added max and min widht at style.css * render as svg * added credits to the pt-br language and runned fmt.write Co-authored-by: ismaelpereira <ismaelfgpereira@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/components/Card.js1
-rw-r--r--src/components/style.css2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/components/Card.js b/src/components/Card.js
index f0943e2..ee9d8d4 100644
--- a/src/components/Card.js
+++ b/src/components/Card.js
@@ -94,6 +94,7 @@ export const Card = ({ direction = 'ltr' }) => {
94 } 94 }
95 value={qrvalue} 95 value={qrvalue}
96 size={175} 96 size={175}
97 renderAs="svg"
97 /> 98 />
98 99
99 <div className="inputs"> 100 <div className="inputs">
diff --git a/src/components/style.css b/src/components/style.css
index e6973f0..c9dbb54 100644
--- a/src/components/style.css
+++ b/src/components/style.css
@@ -15,6 +15,8 @@
15 15
16.qrcode { 16.qrcode {
17 margin-bottom: 1em; 17 margin-bottom: 1em;
18 max-width: 175px;
19 min-width: 175px;
18} 20}
19 21
20.hidden { 22.hidden {