diff --git a/js/privatebin.js b/js/privatebin.js index 8bfd7f75..2cd135c5 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -655,6 +655,9 @@ $(function() { this.clearText.html( converter.makeHtml(text) ); + // add table classes from bootstrap css + this.clearText.find('table').addClass('table-condensed table-bordered'); + this.clearText.removeClass('hidden'); } this.prettyMessage.addClass('hidden'); diff --git a/tpl/bootstrap-compact.php b/tpl/bootstrap-compact.php index 08133314..2289293e 100644 --- a/tpl/bootstrap-compact.php +++ b/tpl/bootstrap-compact.php @@ -52,7 +52,7 @@ if ($MARKDOWN): - + diff --git a/tpl/bootstrap-dark-page.php b/tpl/bootstrap-dark-page.php index 24f3d8f9..ad7d025f 100644 --- a/tpl/bootstrap-dark-page.php +++ b/tpl/bootstrap-dark-page.php @@ -52,7 +52,7 @@ if ($MARKDOWN): - + diff --git a/tpl/bootstrap-dark.php b/tpl/bootstrap-dark.php index f8870f9d..1a827d3e 100644 --- a/tpl/bootstrap-dark.php +++ b/tpl/bootstrap-dark.php @@ -53,7 +53,7 @@ if ($MARKDOWN): - + diff --git a/tpl/bootstrap-page.php b/tpl/bootstrap-page.php index 1f95724a..7e5b9cf8 100644 --- a/tpl/bootstrap-page.php +++ b/tpl/bootstrap-page.php @@ -52,7 +52,7 @@ if ($MARKDOWN): - + diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index dc15d312..47738e83 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -53,7 +53,7 @@ if ($MARKDOWN): - + diff --git a/tpl/page.php b/tpl/page.php index a658706f..a171fca0 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -47,7 +47,7 @@ if ($MARKDOWN): - +