add hw2
This commit is contained in:
1
node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js
generated
vendored
Normal file
1
node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
function d(){let r;return{before({doc:e}){var l;let o=e.documentElement,t=(l=e.defaultView)!=null?l:window;r=Math.max(0,t.innerWidth-o.clientWidth)},after({doc:e,d:o}){let t=e.documentElement,l=Math.max(0,t.clientWidth-t.offsetWidth),n=Math.max(0,r-l);o.style(t,"paddingRight",`${n}px`)}}}export{d as adjustScrollbarPadding};
|
||||
Reference in New Issue
Block a user