fix(layout): fixed page navigation buttons have higher z-index than TTS control button (#3184)

This commit is contained in:
Huang Xin
2026-02-06 18:00:56 +08:00
committed by GitHub
parent fe9603ffb8
commit 9d6394fe2b
2 changed files with 7 additions and 11 deletions
+1 -1
View File
@@ -841,7 +841,7 @@ export const applyTableStyle = (document: Document) => {
const computedTableStyle = window.getComputedStyle(table);
const computedWidth = computedTableStyle.width;
if (computedWidth && computedWidth !== 'auto' && computedWidth !== '0px') {
table.style.width = `calc(min(${computedWidth}, var(--available-width)))`;
table.style.width = `calc(min(${computedWidth}, var(--available-width) * 1px))`;
}
if (totalTableWidth > 0) {
const scale = `calc(min(1, var(--available-width) / ${totalTableWidth}))`;