From 5a4f9ee23f5fe9ce0c502160d3eb26eb497cacd3 Mon Sep 17 00:00:00 2001 From: nod_ <nod_@598310.no-reply.drupal.org> Date: Mon, 25 Mar 2024 16:51:49 +0100 Subject: [PATCH] Issue #3418863 by kksandr, saschaeggi: Setting width for sticky-header is broken (cherry picked from commit db76de263f820e040323c190e2399b4048116ee2) --- core/misc/tableheader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/misc/tableheader.js b/core/misc/tableheader.js index 2c7624023ca9..f649a767a398 100644 --- a/core/misc/tableheader.js +++ b/core/misc/tableheader.js @@ -325,7 +325,7 @@ $stickyCell[0].style.display = 'none'; } } - this.$stickyTable[0].style.width = this.$originalTable.outerWidth(); + this.$stickyTable[0].style.width = `${this.$originalTable.outerWidth()}px`; }, }, ); -- GitLab