diff --git a/korektury/static/korektury/opraf.css b/korektury/static/korektury/opraf.css index 9a485088..de65bd6a 100644 --- a/korektury/static/korektury/opraf.css +++ b/korektury/static/korektury/opraf.css @@ -20,6 +20,11 @@ body { } } +#sbal-korektury, #rozbal-korektury { + float: right; + margin-left: 4pt; +} + img{background:white;} /* Barvy korektur */ diff --git a/korektury/templates/korektury/korekturovatko/__oprava.html b/korektury/templates/korektury/korekturovatko/__oprava.html index 56d4d93b..6fc8b673 100644 --- a/korektury/templates/korektury/korekturovatko/__oprava.html +++ b/korektury/templates/korektury/korekturovatko/__oprava.html @@ -131,9 +131,12 @@ // hide or show text of correction - #toggle_visibility(){ + toggle_visibility() { this.zobrazit = !this.zobrazit; this.htmlElement.dataset.opravazobrazit = String(this.zobrazit); + } + #toggle_visibility(){ + this.toggle_visibility(); place_comments() } diff --git a/korektury/templates/korektury/korekturovatko/_schovani_korektur.html b/korektury/templates/korektury/korekturovatko/_schovani_korektur.html index a609702e..80d8225e 100644 --- a/korektury/templates/korektury/korekturovatko/_schovani_korektur.html +++ b/korektury/templates/korektury/korekturovatko/_schovani_korektur.html @@ -20,6 +20,10 @@ Zobrazit: onchange="toggle_corrections('k_zaneseni')" checked> + + + +