Skip to content

Commit

Permalink
add overflow hidden to html tag as when the body has it
Browse files Browse the repository at this point in the history
  • Loading branch information
sharmrj committed Jan 6, 2025
1 parent 6a940c1 commit a78841f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,10 @@ header.global-navigation + .feds-localnav {
display: none !important;
}

html:has(> body.disable-scroll) {
overflow: hidden;
}

.disable-scroll {
overflow: hidden;
/* for iOS Safari */
Expand Down

0 comments on commit a78841f

Please sign in to comment.