From cb786fa494f3799afb406e9ff53ace372fd46522 Mon Sep 17 00:00:00 2001 From: Ben Woodward Date: Tue, 6 Jul 2021 11:51:44 -0700 Subject: Change inputs to textareas (#34) Issue #28 discovered long ssid and password values would be visibly cropped. This change replaces the input fields with 2-row textareas that properly handle the maximum length of both ssids and passwords, 32 and 63 characters respectively. --- src/components/style.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/components/style.css') 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 @@ .details .text * { margin: 0 1em; } -.details .text input { +.details .text textarea { background-color: #fff; border: solid 1px #ddd; font-family: 'Source Code Pro', serif; - font-size: 1.4em; + font-size: 1.3em; font-weight: bold; - line-height: 2; + height: 3em; + overflow: hidden; + resize: none; } .print-btn { padding-top: 2em; -- cgit v1.2.3