mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
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:
@@ -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; }
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user