Skip to content

Commit

Permalink
fix(frontend): Fix layout in frontend (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinWitt authored Jul 10, 2023
1 parent 35b988f commit ec80525
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions frontend/src/component/LoginButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ export function LoginButton() {
};

return (
<Button onClick={handleAuth}>
<Button onClick={handleAuth} sx={{ margin: "5px" }}>
<Typography sx={{ color:"white" }} >
{getButtonText()}
</Typography>
</Button>
);
}
}
2 changes: 1 addition & 1 deletion frontend/src/pages/DashBoard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function DashBoard() {
container
marginLeft={"5%"}
>
<Grid item xs={2} >
<Grid item xs={2} padding={1}>
<Typography variant="h4"> Search</Typography>
<br />
<TextField label="Filter" value={filter} onChange={(e) => setFilter(e.target.value)} />
Expand Down
5 changes: 2 additions & 3 deletions frontend/src/pages/PageLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ function Navigation({ links }: NavigationProps) {
<ListItemText primary={link.name} />

</ListItem>
<Divider sx={{ height: 1, backgroundColor: 'white' }} />

<Divider sx={{ height: 1, backgroundColor: 'white'}} />
</>
))}
<LoginButton />
<LoginButton/>
</List>
);
}
Expand Down

0 comments on commit ec80525

Please sign in to comment.