Fix style and usability issues in slides

This commit is contained in:
yflory
2017-03-20 15:20:42 +01:00
parent 85105a1382
commit 26edb77cf0
5 changed files with 22 additions and 13 deletions

View File

@@ -131,7 +131,7 @@ define([
var fixCSS = function (css) {
var append = '.cp #print .slide-frame ';
var append2 = '.cp div#modal #content .slide-frame ';
return css.replace(/(\n*)([^\n]+)\s*\{/g, '$1' + append + '$2,' + append2 + '$2 {');
return css.replace(/(\n*)([^\n}]+)\s*\{/g, '$1' + append + '$2,' + append2 + '$2 {');
};
var draw = Slide.draw = function (i) {
i = i || 0;