Skip to content

Commit

Permalink
Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
Browse files Browse the repository at this point in the history
  • Loading branch information
distler committed Sep 30, 2011
2 parents f1e47a7 + 2d9cc8b commit f331bec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
10 changes: 8 additions & 2 deletions public/javascripts/page_helper.js
Expand Up @@ -42,9 +42,15 @@ function fixRunIn() {
});
// add tombstone to proof, since gecko doesn't support :last-child properly
$$('div.proof').each(function(element) {
var l = element.childElements().length -1;
var el = element.childElements()[element.childElements().length-1];
var span = new Element('span').update('\u00a0\u00a0\u25ae');
element.childElements()[l].insert(span);
if (el.match('p')) {
el.insert(span);
} else {
var par = new Element('p').update(span);
par.addClassName('tombstone');
element.appendChild(par);
}
});
}

Expand Down
1 change: 1 addition & 0 deletions public/stylesheets/instiki.css
Expand Up @@ -476,6 +476,7 @@ span.theorem_label {font-style:normal; font-weight:bold;}
content: " " counter(remark); counter-increment: remark;}
.num_note .theorem_label:after {
content: " " counter(note); counter-increment: note;}
.tombstone {text-align:right;}

/* Hack for Mozilla bug 449396 */
[mathvariant="bold"] * {
Expand Down
2 changes: 1 addition & 1 deletion public/svg-edit/editor/svg-editor.js
Expand Up @@ -42,7 +42,7 @@
opacity: 1
},
initStroke: {
width: 5,
width: 2,
color: '000000', // solid black
opacity: 1
},
Expand Down

0 comments on commit f331bec

Please sign in to comment.