From 406e26f1e97d361c788d67ef8bf35fd2aed5c233 Mon Sep 17 00:00:00 2001 From: James Cobb Date: Wed, 17 Jul 2024 15:12:18 -0600 Subject: [PATCH] fixes the showmore issue to allow users to select text --- docs/src/main/asciidoc/javascript/config.js | 2 +- docs/src/main/asciidoc/stylesheet/config.css | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/src/main/asciidoc/javascript/config.js b/docs/src/main/asciidoc/javascript/config.js index 26107d70d9b52..bfd37622f1486 100644 --- a/docs/src/main/asciidoc/javascript/config.js +++ b/docs/src/main/asciidoc/javascript/config.js @@ -26,7 +26,7 @@ if(tables){ const collapsibleSpan = decoration.children.item(1); const descDiv = td.firstElementChild.querySelector(".description"); const collapsibleHandler = makeCollapsibleHandler(descDiv, td, row, collapsibleSpan, iconDecoration); - row.addEventListener('click', collapsibleHandler); + decoration.addEventListener('click', collapsibleHandler); } } diff --git a/docs/src/main/asciidoc/stylesheet/config.css b/docs/src/main/asciidoc/stylesheet/config.css index 53ca077e66cf5..6205486d9c0a1 100644 --- a/docs/src/main/asciidoc/stylesheet/config.css +++ b/docs/src/main/asciidoc/stylesheet/config.css @@ -80,9 +80,8 @@ table.configuration-reference.tableblock .description-collapsed { table.configuration-reference.tableblock .description-decoration { height: 10px; margin: 0px; - padding: 0px; + padding: 0px 0px .75rem 0px; text-align: center; - cursor: pointer; } @@ -100,7 +99,6 @@ table.configuration-reference.tableblock a.link-collapsible i.fa { } table.configuration-reference.tableblock tr.row-collapsible td { - cursor: pointer; } table.configuration-reference.tableblock td.tableblock > .content > :last-child {