mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2026-04-28 19:16:43 +00:00
Compare commits
1 Commits
codex/rede
...
verify/ofd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ccd6cc7940 |
@@ -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