Skip to content

Commit

Permalink
fix: hover icon does not appear on anchors for headers of level h4 (r…
Browse files Browse the repository at this point in the history
…esolves #242) (#312)

* fix: hover icon does not appear on anchors for headers of level h4

* chore(deps): bump ci actions versions
  • Loading branch information
jobara authored Sep 6, 2024
1 parent 65a89c7 commit 35bbd9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
HEADLESS: true

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
Expand Down
8 changes: 2 additions & 6 deletions src/static/css/infusion-docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,8 @@ a:focus {
background: inherit;
}

h1:hover .octicon-link,
h1:focus .octicon-link,
h2:hover .octicon-link,
h2:focus .octicon-link,
h3:hover .octicon-link,
h3:focus .octicon-link {
:is(h1, h2, h3, h4, h5, h6):hover .octicon-link,
:is(h1, h2, h3, h4, h5, h6):focus-within .octicon-link {
visibility: visible;
}

Expand Down

0 comments on commit 35bbd9b

Please sign in to comment.