diff --git a/_includes/refactor-content.html b/_includes/refactor-content.html index 1e44de3..f29d5a2 100644 --- a/_includes/refactor-content.html +++ b/_includes/refactor-content.html @@ -4,7 +4,10 @@ {% assign _content = include.content %} - + {% if _content contains '' %} {% assign _content = _content | replace: '
', '
' diff --git a/assets/css/_addon/main.scss b/assets/css/_addon/main.scss index 7fa3b5f..8b2adda 100644 --- a/assets/css/_addon/main.scss +++ b/assets/css/_addon/main.scss @@ -771,14 +771,15 @@ img { /*--- Begin of Markdown table style ---*/ -div.post-content .table-wrapper { + +.table-wrapper { // it will be created by Liquid overflow-x: auto; + margin-bottom: 1.5rem; > table { min-width: 100%; overflow-x: auto; border-spacing: 0; - margin-bottom: 1.5rem; thead { border-bottom: solid 2px rgba(210, 215, 217, 0.75);