fixed clickable area size
This commit is contained in:
parent
a5d9c1e11f
commit
74b523be23
1 changed files with 7 additions and 7 deletions
|
@ -72,12 +72,12 @@ interface PostCardProps {
|
|||
export default class PostCard extends React.Component<PostCardProps> {
|
||||
render() {
|
||||
return (
|
||||
<StyledPostCardContentContainer
|
||||
to={process.env.PUBLIC_URL + this.props.postData.url}
|
||||
>
|
||||
<StyledPostCard
|
||||
key={this.props.postData.url}
|
||||
className="card main-content"
|
||||
>
|
||||
<StyledPostCardContentContainer
|
||||
to={process.env.PUBLIC_URL + this.props.postData.url}
|
||||
>
|
||||
<StyledTitle>
|
||||
{this.props.postData?.title || "No title"}
|
||||
|
@ -122,8 +122,8 @@ export default class PostCard extends React.Component<PostCardProps> {
|
|||
__html: this.props.postData.preview,
|
||||
}}
|
||||
/>
|
||||
</StyledPostCardContentContainer>
|
||||
</StyledPostCard>
|
||||
</StyledPostCardContentContainer>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue