|
|
@@ -87,7 +87,7 @@ public class ArticleViewController {
|
|
|
html.append("padding: 8px 12px; word-break: break-word; overflow-wrap: break-word; }\n");
|
|
|
// 对应 content_style 中的 img/video
|
|
|
html.append(".article-content img { max-width: 100%; height: auto; }\n");
|
|
|
- html.append(".article-content video { max-width: 100%; }\n");
|
|
|
+ html.append(".article-content video { max-width: 100%; height: auto !important; }\n");
|
|
|
// ---- 以下对应 TinyMCE content.css (skins/content/default/content.css) ----
|
|
|
html.append(".article-content table { border-collapse: collapse; }\n");
|
|
|
html.append(".article-content table:not([cellpadding]) th, .article-content table:not([cellpadding]) td { padding: 0.4rem; }\n");
|