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> {
|
export default class PostCard extends React.Component<PostCardProps> {
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<StyledPostCard
|
<StyledPostCardContentContainer
|
||||||
key={this.props.postData.url}
|
to={process.env.PUBLIC_URL + this.props.postData.url}
|
||||||
className="card main-content"
|
|
||||||
>
|
>
|
||||||
<StyledPostCardContentContainer
|
<StyledPostCard
|
||||||
to={process.env.PUBLIC_URL + this.props.postData.url}
|
key={this.props.postData.url}
|
||||||
|
className="card main-content"
|
||||||
>
|
>
|
||||||
<StyledTitle>
|
<StyledTitle>
|
||||||
{this.props.postData?.title || "No title"}
|
{this.props.postData?.title || "No title"}
|
||||||
|
@ -122,8 +122,8 @@ export default class PostCard extends React.Component<PostCardProps> {
|
||||||
__html: this.props.postData.preview,
|
__html: this.props.postData.preview,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</StyledPostCardContentContainer>
|
</StyledPostCard>
|
||||||
</StyledPostCard>
|
</StyledPostCardContentContainer>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue