diff --git a/js/privatebin.js b/js/privatebin.js index 8bfd7f7..2cd135c 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 0813331..2289293 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 24f3d8f..ad7d025 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 f8870f9..1a827d3 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 1f95724..7e5b9cf 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 dc15d31..47738e8 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 a658706..a171fca 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -47,7 +47,7 @@ if ($MARKDOWN): - +