aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/components/Card.js6
-rw-r--r--src/components/style.css8
-rw-r--r--src/style.css2
3 files changed, 9 insertions, 7 deletions
diff --git a/src/components/Card.js b/src/components/Card.js
index 3394859..bbf29f9 100644
--- a/src/components/Card.js
+++ b/src/components/Card.js
@@ -1,5 +1,5 @@
1import React, { useState, useEffect } from 'react';
2import QRCode from 'qrcode.react'; 1import QRCode from 'qrcode.react';
2import { useEffect, useState } from 'react';
3import './style.css'; 3import './style.css';
4 4
5export const Card = () => { 5export const Card = () => {
@@ -51,7 +51,7 @@ export const Card = () => {
51 51
52 <div className="text"> 52 <div className="text">
53 <label>Network name</label> 53 <label>Network name</label>
54 <input 54 <textarea
55 id="ssid" 55 id="ssid"
56 type="text" 56 type="text"
57 maxLength="32" 57 maxLength="32"
@@ -60,7 +60,7 @@ export const Card = () => {
60 onChange={(e) => setNetwork({ ...network, ssid: e.target.value })} 60 onChange={(e) => setNetwork({ ...network, ssid: e.target.value })}
61 /> 61 />
62 <label>Password</label> 62 <label>Password</label>
63 <input 63 <textarea
64 id="password" 64 id="password"
65 type="text" 65 type="text"
66 maxLength="63" 66 maxLength="63"
diff --git a/src/components/style.css b/src/components/style.css
index d1440e2..4feb1d6 100644
--- a/src/components/style.css
+++ b/src/components/style.css
@@ -14,13 +14,15 @@
14.details .text * { 14.details .text * {
15 margin: 0 1em; 15 margin: 0 1em;
16} 16}
17.details .text input { 17.details .text textarea {
18 background-color: #fff; 18 background-color: #fff;
19 border: solid 1px #ddd; 19 border: solid 1px #ddd;
20 font-family: 'Source Code Pro', serif; 20 font-family: 'Source Code Pro', serif;
21 font-size: 1.4em; 21 font-size: 1.3em;
22 font-weight: bold; 22 font-weight: bold;
23 line-height: 2; 23 height: 3em;
24 overflow: hidden;
25 resize: none;
24} 26}
25.print-btn { 27.print-btn {
26 padding-top: 2em; 28 padding-top: 2em;
diff --git a/src/style.css b/src/style.css
index 5ea2e58..b7819af 100644
--- a/src/style.css
+++ b/src/style.css
@@ -1,5 +1,5 @@
1body { 1body {
2 max-width: 650px; 2 max-width: 680px;
3} 3}
4.tag { 4.tag {
5 line-height: 1.6; 5 line-height: 1.6;