[WEB-2053] fix: my work page scroll (#5224)
* fix: my work page scroll * chore: profile sidebar shadow removed
This commit is contained in:
parent
1f9c7a4b67
commit
3bdd91e577
2 changed files with 3 additions and 3 deletions
|
|
@ -59,8 +59,8 @@ const UseProfileLayout: React.FC<Props> = observer((props) => {
|
|||
<>
|
||||
{/* Passing the type prop from the current route value as we need the header as top most component.
|
||||
TODO: We are depending on the route path to handle the mobile header type. If the path changes, this logic will break. */}
|
||||
<div className="h-full w-full md:flex md:overflow-hidden">
|
||||
<div className="h-full w-full md:overflow-hidden">
|
||||
<div className="h-full w-full flex flex-col md:flex-row overflow-hidden">
|
||||
<div className="h-full w-full flex flex-col overflow-hidden">
|
||||
<AppHeader
|
||||
header={
|
||||
<UserProfileHeader
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ export const ProfileSidebar: FC<TProfileSidebar> = observer((props) => {
|
|||
return (
|
||||
<div
|
||||
className={cn(
|
||||
`vertical-scrollbar scrollbar-md fixed z-[5] h-full w-full flex-shrink-0 overflow-hidden overflow-y-auto border-l border-custom-border-100 bg-custom-sidebar-background-100 shadow-custom-shadow-sm transition-all md:relative md:w-[300px]`,
|
||||
`vertical-scrollbar scrollbar-md fixed z-[5] h-full w-full flex-shrink-0 overflow-hidden overflow-y-auto border-l border-custom-border-100 bg-custom-sidebar-background-100 transition-all md:relative md:w-[300px]`,
|
||||
className
|
||||
)}
|
||||
style={profileSidebarCollapsed ? { marginLeft: `${window?.innerWidth || 0}px` } : {}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue