Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
KW86022 authored and KW86022 committed Oct 22, 2024
1 parent 43da703 commit 55613ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions frontend/pages/help.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export default function Help() {
To find out more about Bailo please see our documentation pages.
</Typography>
</CardContent>
<CardActions sx={{ justifyContent: 'center' }}>
<Link passHref href='/docs' legacyBehavior>
<CardActions>
<Link passHref href='/docs'>
<Button variant='contained' sx={{ mx: 'auto', mb: 2, width: 200 }} data-test='documentationLink'>
View documentation
</Button>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/docs/DocsWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function DocsWrapper({ children }: DocsWrapperProps): ReactElemen
<ListItemText primary={doc.title} primaryTypographyProps={{ fontWeight: 'bold' }} />
</ListItem>
) : (
<Link passHref href={path} style={{ textDecoration: 'none', color: 'black' }} legacyBehavior>
<Link passHref href={path} legacyBehavior>
<ListItemButton dense selected={isSelected} sx={{ pl: paddingLeft }}>
<ListItemText
primary={doc.title}
Expand Down Expand Up @@ -133,7 +133,7 @@ export default function DocsWrapper({ children }: DocsWrapperProps): ReactElemen
color: theme.palette.primary.main,
},
'a:visited': {
color: theme.palette.secondary.main,
color: theme.palette.primary.main,
},
blockquote: {
fontStyle: 'italic',
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/marketplace/EntryList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function EntryList({
return entries.map((entry, index) => (
<Fragment key={entry.id}>
<Stack direction='row'>
<Link style={{ textDecoration: 'none' }} href={`${entry.kind}/${entry.id}`} passHref legacyBehavior>
<Link style={{ textDecoration: 'none' }} href={`${entry.kind}/${entry.id}`} passHref>
<MuiLink variant='h5' sx={{ fontWeight: '500', textDecoration: 'none', color: theme.palette.primary.main }}>
{entry.name}
</MuiLink>
Expand Down

0 comments on commit 55613ef

Please sign in to comment.