Skip to content

Commit

Permalink
Make anchor visible on WebKit browsers. (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein authored Jul 16, 2023
1 parent fd48d7c commit 2503759
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/189-css-option-anchors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- "Fix antsibull Sphinx extension CSS so that the option/return value anchors for module/plugin/role documentation can also be used on WebKit-based browsers such as Gnome Web and Safari (https://github.com/ansible-community/antsibull-docs/issues/188, https://github.com/ansible-community/antsibull-docs/pull/189)."
2 changes: 1 addition & 1 deletion src/sphinx_antsibull_ext/antsibull-minimal.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/sphinx_antsibull_ext/css/antsibull-minimal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ table.documentation-table {
tr {
.ansibleOptionLink {
display: inline-block;
visibility: hidden;

&::after {
content: "🔗";
opacity: 0;
}
}

&:hover .ansibleOptionLink::after {
visibility: visible;
opacity: 1;
}

&:nth-child(odd) {
Expand Down Expand Up @@ -203,10 +203,10 @@ table.ansible-option-table {

.ansibleOptionLink {
display: inline-block;
visibility: hidden;

&::after {
content: "🔗";
opacity: 0;
}
}

Expand All @@ -215,7 +215,7 @@ table.ansible-option-table {
}

tr:hover .ansibleOptionLink::after {
visibility: visible;
opacity: 1;
}

td {
Expand Down

0 comments on commit 2503759

Please sign in to comment.