diff --git a/less/topic.less b/less/topic.less index cb03395..1e4a1ae 100644 --- a/less/topic.less +++ b/less/topic.less @@ -309,6 +309,11 @@ .content { margin-left: 0; margin-top: -10px; + + .table { + overflow-x: auto; + display: block; + } } .post-signature { diff --git a/lib/persona.js b/lib/persona.js index fc14723..dae7ead 100644 --- a/lib/persona.js +++ b/lib/persona.js @@ -162,7 +162,7 @@ $(document).ready(function() { slideout.on('open', openingMenuAndLoad); slideout.on('touchmove', function(target) { var $target = $(target); - if ($target.length && ($target.is('code') || $target.parents('code').length || $target.hasClass('preventSlideOut') || $target.parents('.preventSlideOut').length)) { + if ($target.length && ($target.is('table') || $target.parents('table').length || $target.is('code') || $target.parents('code').length || $target.hasClass('preventSlideOut') || $target.parents('.preventSlideOut').length)) { slideout._preventOpen = true; } });