minor wiki changes

This commit is contained in:
Mario Vavti 2016-11-16 13:14:46 +01:00
parent 501bd814c3
commit 90a97ae35f
2 changed files with 7 additions and 2 deletions

View file

@ -408,7 +408,8 @@
if (data.success) {
var modalBody = $('#generic-modal-body-{{$wikiModalID}}');
modalBody.html('<div class="descriptive-text">'+data.diff+'</div>');
$('.modal-dialog').width('80%');
// this does not work well on small devices
//$('.modal-dialog').width('80%');
$("#generic-modal-ok-{{$wikiModalID}}").off('click');
$("#generic-modal-ok-{{$wikiModalID}}").click(function () {
wiki_revert_page(compareCommit);
@ -545,4 +546,4 @@
$('#new-wiki-button').hide();
{{/if}}
});
</script>
</script>

View file

@ -1,4 +1,8 @@
<style>
.diff {
width:100%;
}
.diff td{
padding:0 0.667em;
vertical-align:top;