Skip to content

Commit

Permalink
Merge pull request #41959 from insectengine/guides_showmore_fix
Browse files Browse the repository at this point in the history
fixes the showmore issue to allow users to select text
  • Loading branch information
gsmet authored Jul 18, 2024
2 parents 0d21262 + 406e26f commit 6d8339f
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 6d8339f

Please sign in to comment.