mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2026-03-13 15:20:23 +00:00
verify: 回退到原始 OFD 修复版本进行验证 (#724)
使用原始选择器 #content svg { overflow: hidden !important; }
验证该版本是否存在问题
This commit is contained in:
@@ -203,10 +203,9 @@ body { margin: 0; }
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* OFD 表格竖线溢出修复 */
|
/* OFD 表格竖线溢出修复 */
|
||||||
/* 问题:cnofd 库为表格竖线创建的 SVG 容器设置了 inline style overflow:visible,
|
/* cnofd 库在 SVG 上设置了 inline style overflow:visible,导致表格中间竖线的 */
|
||||||
导致 <path> 元素超过容器高度而溢出表格底部边框。 */
|
/* path 元素超出 SVG 容器高度后仍然可见。使用 !important 覆盖 inline style。 */
|
||||||
/* 解决方案:精准覆盖有 inline style 的 SVG,使用 !important 强制覆盖 inline style。 */
|
#content svg {
|
||||||
#content svg[style="overflow:visible"] {
|
|
||||||
overflow: hidden !important;
|
overflow: hidden !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user