fix(typesetting): 修复对齐下拉CSS不生效的bug - img添加class + flex布局

This commit is contained in:
augushong
2026-05-17 00:40:03 +08:00
parent ee9e2acca2
commit 0ce43ddd19
2 changed files with 6 additions and 2 deletions

View File

@@ -1251,7 +1251,7 @@ var PhoneImageEngine = (function () {
var $item = $('<div class="preview-thumb-item" data-page-index="' + pageIndex + '">');
$item.css('width', thumbWidth + 'px');
var $img = $('<img>');
var $img = $('<img class="preview-thumb-img">');
$img.attr('src', dataUrl);
$img.css('width', thumbWidth + 'px');
$item.append($img);