File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
features/users/components/UserTable/EditSheet Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ function MoreInfoFooter() {
3535 return (
3636 < >
3737 < SheetClose asChild >
38- < Button color = "secondary" type = "button" className = "justify-center md :w-1/5" >
38+ < Button color = "secondary" type = "button" className = "w-full justify-center lg :w-1/5" >
3939 { t ( "close" ) }
4040 </ Button >
4141 </ SheetClose >
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const SheetOverlay = React.forwardRef<
3939> ( ( { className, children, ...props } , ref ) => (
4040 < SheetPrimitive . Overlay
4141 className = { classNames (
42- "bg-inverted data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in fixed inset-0 z-50 opacity-60 backdrop-blur-sm transition-all duration-100" ,
42+ "data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in fixed inset-0 z-50 bg-neutral-800 bg- opacity-70 backdrop-blur-[1px] transition-all duration-100" ,
4343 className
4444 ) }
4545 { ...props }
@@ -49,7 +49,7 @@ const SheetOverlay = React.forwardRef<
4949SheetOverlay . displayName = SheetPrimitive . Overlay . displayName ;
5050
5151const sheetVariants = cva (
52- "fixed z-50 scale-100 gap-4 bg-default m-4 rounded-xl p-6 opacity-100 shadow-lg border" ,
52+ "fixed z-50 scale-100 gap-4 bg-default m-4 rounded-xl p-6 opacity-100 shadow-lg border border-default overflow-y-scroll " ,
5353 {
5454 variants : {
5555 position : {
@@ -106,7 +106,7 @@ const sheetVariants = cva(
106106 {
107107 position : [ "right" , "left" ] ,
108108 size : "default" ,
109- class : "w-1/3 max-h-[calc(100vh-2rem)]" ,
109+ class : "w-[calc(100%-2rem)] lg:w- 1/3 max-h-[calc(100vh-2rem)]" ,
110110 } ,
111111 {
112112 position : [ "right" , "left" ] ,
You can’t perform that action at this time.
0 commit comments