Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Nov 13, 2024
1 parent 4b4486c commit e86faa1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MenuModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ function MenuModal({ isTopNav }: { isTopNav: boolean }) {
background: '#ededef',
transitionProperty: 'opacity',
// https://github.com/brillout/docpress/issues/23
// https://stackoverflow.com/questions/64514118/css-overscroll-behavior-contain-when-target-element-doesnt-overflow
// https://stackoverflow.com/questions/9538868/prevent-body-from-scrolling-when-a-modal-is-opened
overscrollBehavior: 'none',
}}
onMouseOver={openMenuModal}
Expand Down

0 comments on commit e86faa1

Please sign in to comment.