Offset input

Conflicts:
	urb/zod/main/app/terminal/hymn/script.js
This commit is contained in:
Anton Dyudin 2014-10-24 13:08:19 -07:00 committed by Anton Dyudin
parent c94b900977
commit afaf131c72
2 changed files with 5 additions and 4 deletions

View File

@ -35,7 +35,7 @@ $(function() {
if(e.shiftKey) return true
v = prom.val().replace(/\xa0/g, ' ')
$(cont).append($('<b>').html(prem.innerHTML),
$('<span>').text(v))
$('<div class="prom">').text(v))
jpok('line', v)
hist.unshift(v)
@ -90,8 +90,7 @@ $(function() {
$(cont).append($('<div>').text(lom))
else {
$(cont).append($('<b>').text(lom.prompt + '> '),
$('<span>').text(lom.task),
$('<br>'))
$('<div class="prom">').text(lom.task))
}
}
window.scrollTo(0,document.body.scrollHeight)

View File

@ -26,9 +26,11 @@ button {
background-color: #fff;
padding: 1rem;
}
#prom-cont {
#prom-cont,
.prom {
display: block;
position:relative;
left: 1rem;
}
textarea,
#prom-size {