fix(layout): fixed page navigation buttons have higher z-index than TTS control button (#3184)
This commit is contained in:
@@ -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}))`;
|
||||
|
||||
Reference in New Issue
Block a user