Skip to content

Commit

Permalink
update skipto.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jongund committed Oct 16, 2024
1 parent f35b871 commit 6bd2457
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/shared/js/skipto.js
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ $skipToId-overlay {
border: 4px solid $buttonBackgroundColor;
}
$skipToId-overlay div {
$skipToId-overlay div.overlay-border {
margin: 0;
padding: 0;
position: relative;
Expand Down Expand Up @@ -2060,6 +2060,7 @@ $skipToId-overlay div {
document.body.appendChild(overlayElem);

const overlayElemChild = document.createElement('div');
overlayElemChild.className = 'overlay-border';
overlayElem.appendChild(overlayElemChild);
}

Expand Down

0 comments on commit 6bd2457

Please sign in to comment.