From 3a5629f0ba676b9e24378c4b881e2929fe33b2a4 Mon Sep 17 00:00:00 2001 From: Jacob Levine Date: Sat, 9 Feb 2019 15:19:14 -0600 Subject: [PATCH] does making everything auto fix it? --- website/public/profile/scripts.js | 5 ----- website/public/style.css | 5 ++++- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/website/public/profile/scripts.js b/website/public/profile/scripts.js index a534e4ba..52cdba59 100644 --- a/website/public/profile/scripts.js +++ b/website/public/profile/scripts.js @@ -92,8 +92,3 @@ function updem() { } }); } -var input = document.getElementById('newEM'); - -input.onkeypress = input.onkeydown = function() { - this.size = ( this.value.length > 10 ) ? this.value.length : 10; -}; diff --git a/website/public/style.css b/website/public/style.css index 32a97830..5e5930ac 100644 --- a/website/public/style.css +++ b/website/public/style.css @@ -16,9 +16,12 @@ td{ margin: 10px; } #newEM, #newDN{ - border: 3px black; + border: 1px solid black; + border-radius: 5px; font-family: 'Roboto', sans-serif; overflow-x: visible; + width: auto; + size: auto; } /* The side navigation menu */ .sidenav {