aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-11-16 13:14:46 +0100
committerMario Vavti <mario@mariovavti.com>2016-11-16 13:14:46 +0100
commit90a97ae35f0758117a4065dacd1b2b1f6db5515c (patch)
tree0f2a05f248b9d442f665197015bd0df34cf2c692 /view
parent501bd814c3a057684b102bc4c6cb8e0b7403debd (diff)
downloadvolse-hubzilla-90a97ae35f0758117a4065dacd1b2b1f6db5515c.tar.gz
volse-hubzilla-90a97ae35f0758117a4065dacd1b2b1f6db5515c.tar.bz2
volse-hubzilla-90a97ae35f0758117a4065dacd1b2b1f6db5515c.zip
minor wiki changes
Diffstat (limited to 'view')
-rw-r--r--view/tpl/wiki.tpl5
-rw-r--r--view/tpl/wiki_page_history.tpl4
2 files changed, 7 insertions, 2 deletions
diff --git a/view/tpl/wiki.tpl b/view/tpl/wiki.tpl
index 26a0a72e8..91016152c 100644
--- a/view/tpl/wiki.tpl
+++ b/view/tpl/wiki.tpl
@@ -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> \ No newline at end of file
+</script>
diff --git a/view/tpl/wiki_page_history.tpl b/view/tpl/wiki_page_history.tpl
index fef5d93a5..9a313f767 100644
--- a/view/tpl/wiki_page_history.tpl
+++ b/view/tpl/wiki_page_history.tpl
@@ -1,4 +1,8 @@
<style>
+ .diff {
+ width:100%;
+ }
+
.diff td{
padding:0 0.667em;
vertical-align:top;