diff --git a/static/css/style.css b/static/css/style.css index af6a35c..f4c583b 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -76,6 +76,10 @@ list-style-type: none; } +form textarea { + overflow-y:auto; +} + button.btn, input[type="submit"].btn { margin-left: 5px; } @@ -83,7 +87,7 @@ button.btn, input[type="submit"].btn { .well { padding-bottom: 40px; padding-right: 17px; -} +} .legal { margin: 0 auto; @@ -99,7 +103,7 @@ button.btn, input[type="submit"].btn { form { padding-bottom:3em !important; padding-right: 17px; -} +} .btn-primary { @@ -107,6 +111,10 @@ position:relative; top:-4px; } +.paste-option-down { + display:none; +} + @@ -122,5 +130,3 @@ top:-4px; - - diff --git a/static/js/behavior.js b/static/js/behavior.js index 50cb44a..53beb90 100644 --- a/static/js/behavior.js +++ b/static/js/behavior.js @@ -60,13 +60,11 @@ $('.paste-option select').change(function(){ $('#content').elastic(); /* Display bottom paste option buttons when needed */ -$('.paste-option-down').hide(); -$('#content').live('keyup', function(){ +$('#content').live('keyup change', function(){ if($('#content').height() < 600 ){ $('.paste-option-down').hide(); } else { - $(window).scrollTop($(this).height()); $('.paste-option-down').show(); }; });