Skip to content

Commit

Permalink
dashboard my lists style fixes (#1107)
Browse files Browse the repository at this point in the history
* make tab panel 100% width

* fix padding on the top of my lists component
  • Loading branch information
gumaerc authored Jun 18, 2024
1 parent 5fccaa2 commit 44d5812
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ const LinkText = styled(Typography)(({ theme }) => ({

const TabPanelStyled = styled(TabPanel)({
padding: "0",
width: "100%",
})

const TitleText = styled(Typography)(({ theme }) => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@ import { useNavigate } from "react-router"
import * as urls from "@/common/urls"
import { manageListDialogs } from "@/page-components/ManageListDialogs/ManageListDialogs"

const ListHeaderGrid = styled(Grid)`
margin-top: 1rem;
margin-bottom: 1rem;
`
const PageContainer = styled(Container)({
marginTop: "1rem",
})

const ListHeaderGrid = styled(Grid)({
marginBottom: "1rem",
})

type EditUserListMenuProps = {
userList: UserList
Expand Down Expand Up @@ -164,12 +167,12 @@ const UserListListingPage: React.FC = () => {
<MetaTags>
<title>User Lists</title>
</MetaTags>
<Container maxWidth="sm">
<PageContainer maxWidth="sm">
<UserListListingComponent
title="User Lists"
onActivate={handleActivate}
/>
</Container>
</PageContainer>
</BannerPage>
)
}
Expand Down

0 comments on commit 44d5812

Please sign in to comment.