File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 22 "name" : " material-web-components-react" ,
33 "version" : " 0.3.7" ,
44 "author" : " Grayhat Team" ,
5+ "type" : " module" ,
56 "keywords" : [
67 " react" ,
78 " react-component" ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export const BottomSheet: React.FC<BottomSheetProps> = ({
3737 } `}
3838 />
3939 < Drawer . Content
40- className = { `bg-zinc-100 flex flex-col overflow-hidden !rounded-t-[2rem] mt-24 fixed bottom-0 m-auto left-0 right-0 sm:max-w-[640px] w-full sm:px-14 px-6 ` }
40+ className = { `fixed inset-x-0 bottom-0 m-auto mt-24 flex w-full flex-col overflow-hidden !rounded-t-[2rem] bg-zinc-100 px-6 sm:max-w-screen-sm sm:px-14` }
4141 >
4242 { _showHandle && (
4343 < div className = "w-12 h-1.5 rounded-full bg-zinc-300 cursor-grab active:cursor-grabbing flex flex-col items-center justify-center mx-auto mt-6 mb-2" />
You can’t perform that action at this time.
0 commit comments