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 {