feat: make author clickable
This commit is contained in:
@@ -36,6 +36,7 @@ const Image = (
|
||||
src: string;
|
||||
alt?: string;
|
||||
thumbnail?: string;
|
||||
fill?: boolean;
|
||||
width?: number | string;
|
||||
height?: number | string;
|
||||
style?: CSS.HtmlAttributes;
|
||||
@@ -48,10 +49,10 @@ const Image = (
|
||||
return (
|
||||
<span
|
||||
style={{
|
||||
position: "absolute",
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
zIndex: -1,
|
||||
position: props.fill ? "absolute" : "",
|
||||
width: props.fill ? "100%" : "",
|
||||
height: props.fill ? "100%" : "",
|
||||
zIndex: props.fill ? -1 : "",
|
||||
}}
|
||||
data-thumb={props.thumbnail}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user