From 51b817cad33c972bcb41783bd76cf9e9b6c0bf41 Mon Sep 17 00:00:00 2001 From: Kayden Tebau Date: Mon, 16 Jan 2023 17:53:31 -0800 Subject: [PATCH] Make textfield bigger --- public/css/main.css | 10 ++++++++++ templates/account/accountManage.html.ep | 2 +- templates/register/registerPage.html.ep | 4 ++-- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/public/css/main.css b/public/css/main.css index 1c72550..7654d6e 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -48,6 +48,11 @@ a:visited { a:visited { color: #7c5263; } + + textarea { + background: #ffffff; + color: #211c1b; + } } header { @@ -124,6 +129,11 @@ textarea { color: #f6f6f6; } +textarea.big { + width: 100%; + height: 5em; +} + .error { color: #f00; } diff --git a/templates/account/accountManage.html.ep b/templates/account/accountManage.html.ep index 66e254a..b61989a 100644 --- a/templates/account/accountManage.html.ep +++ b/templates/account/accountManage.html.ep @@ -49,7 +49,7 @@

%= label_for sshKeys => 'SSH keys. Add a newline if you have multiple.'
- %= text_area sshKeys => $sshKeys, id => 'sshKeys' + %= text_area sshKeys => $sshKeys, id => 'sshKeys', class=>'big'

Leave this blank if you don't want to change your password. diff --git a/templates/register/registerPage.html.ep b/templates/register/registerPage.html.ep index 796c614..a20ecaf 100644 --- a/templates/register/registerPage.html.ep +++ b/templates/register/registerPage.html.ep @@ -43,12 +43,12 @@

%= label_for pubkey => 'Put your SSH keys here. Separate them by a newline if you have multiple.'
- %= text_area 'pubkey', id=>'pubkey' + %= text_area 'pubkey', id=>'pubkey', class=>'big'

%= label_for bio => 'Tell us a bit about yourself here. Feel free to put some links, too :)'
- %= text_area 'bio', id=>'bio' + %= text_area 'bio', id=>'bio', class=>'big'

%= submit_button % end