Complete EpisodeTitlePage #160
This commit is contained in:
17 files changed
+493
-138
No files matched your search
@@ -5,7 +5,7 @@ import { useNavigate } from "react-router-dom";
|
||||
|
||||
import "./textLink.module.scss";
|
||||
|
||||
const TextLink = ({ text, location, variant, otherProps }) => {
|
||||
const TextLink = ({ children, location, variant, otherProps }) => {
|
||||
const navigate = useNavigate();
|
||||
|
||||
return (
|
||||
@@ -15,7 +15,7 @@ const TextLink = ({ text, location, variant, otherProps }) => {
|
||||
onClick={() => navigate(location)}
|
||||
{...otherProps}
|
||||
>
|
||||
{text}
|
||||
{children}
|
||||
</Typography>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
text-decoration: underline;
|
||||
text-decoration-color: rgb(255 255 255 / 0.5);
|
||||
white-space: pre-line;
|
||||
width: fit-content;
|
||||
&:hover {
|
||||
cursor: pointer;
|
||||
text-decoration-color: rgb(255 255 255 / 1);
|
||||
|
||||
Reference in new issue
Block a user