Skip to content

Commit

Permalink
fixes the showmore issue to allow users to select text
Browse files Browse the repository at this point in the history
  • Loading branch information
insectengine committed Jul 17, 2024
1 parent 75cf0bf commit 406e26f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/javascript/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down
4 changes: 1 addition & 3 deletions docs/src/main/asciidoc/stylesheet/config.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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 {
Expand Down

0 comments on commit 406e26f

Please sign in to comment.