mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
Removed autoscrol
This commit is contained in:
parent
5b4ee443e9
commit
9f4fd6b711
@ -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;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -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();
|
||||
};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user