gfse: layout fix

Style options inteded for some buttons used in example-based editing was
unintensionally applied to some other OK/Cancel buttons as well.
This commit is contained in:
hallgren
2012-02-22 16:45:46 +00:00
parent 39c1b5a5fa
commit 4eaa41eaf0
3 changed files with 3 additions and 4 deletions

View File

@@ -42,8 +42,7 @@ div.fun:hover, div.param:hover, div.lincat:hover, div.oper:hover, div.lin:hover,
div.template:hover
{ background: #def;}
.lin input[type=button],
.template input[type=button] { float: right; clear: right; margin: 0; }
.exb_linbuttons input[type=button] { float: right; clear: right; margin: 0; }
.exb_output { background: #dfd; float: right; margin: 0 10px; }
.more, .delete { font-weight: bold; font-family: sans-serif; }

View File

@@ -1058,7 +1058,7 @@ function draw_lins(g,ci) {
}
l.push(sep(" = "));
var t=editable("span",text_ne(f.lin),g,edit(f),"Edit lin for "+f.fun);
appendChildren(t,exb_linbuttons(g,ci,f));
t.appendChild(exb_linbuttons(g,ci,f));
l.push(t);
return node("span",{"class":cls},l);
}

View File

@@ -186,5 +186,5 @@ function exb_linbuttons(g,ci,f) {
var exb_output=node("span",{"class":"exb_output"},[]);
buttons.push(exb_output)
}
return buttons
return node("span",{"class":"exb_linbuttons"},buttons)
}