add css classes to elements to ease css customization

This commit is contained in:
Athou
2025-04-23 13:56:11 +02:00
parent d6a1f1ae15
commit d417655a86
7 changed files with 25 additions and 15 deletions

View File

@@ -35,9 +35,16 @@ interface LayoutProps {
function LogoAndTitle() {
const dispatch = useAppDispatch()
return (
<Center inline onClick={async () => await dispatch(redirectToRootCategory())} style={{ cursor: "pointer" }}>
<Logo size={24} />
<Title order={3} pl="md">
<Center
className="cf-logo-title"
inline
onClick={async () => await dispatch(redirectToRootCategory())}
style={{ cursor: "pointer" }}
>
<Box className="cf-logo">
<Logo size={24} />
</Box>
<Title order={3} pl="md" className="cf-title">
CommaFeed
</Title>
</Center>