Skip to content

Commit

Permalink
fix: use h6 classname in h3 card title to preserve aspect
Browse files Browse the repository at this point in the history
  • Loading branch information
deodorhunter committed Feb 5, 2024
1 parent 833e43a commit dc1d604
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ const CardWithImageRssTemplate = ({
{getViewDate(item.pubDate || item.date, intl.locale)}
</span>{' '}
</div>
<CardTitle tag="h3">{item.title}</CardTitle>
<CardTitle tag="h3" className="h6">
{item.title}
</CardTitle>
{item?.source?.length > 0 && (
<div className="source-title">
<span className="source">{item.source}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ const CardWithoutImageRssTemplate = ({
</span>
)}
</div>
<CardTitle tag="h3">{item.title}</CardTitle>
<CardTitle tag="h3" className="h6">
{item.title}
</CardTitle>
{item?.source?.length > 0 && (
<div className="source-title">
<span className="source">{item.source}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const CardWithImageRssTemplateSkeleton = ({ isEditMode, data = {} }) => {

<CardBody tag="div" className="px-4">
<div className="category-top"></div>
<CardTitle tag="h3"></CardTitle>
<CardTitle tag="h3" className="h6"></CardTitle>
</CardBody>
<CardReadMore
iconName="it-arrow-right"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const CardWithoutImageRssTemplateSkeleton = ({ isEditMode, data = {} }) => {
<Card noWrapper={false} tag="div">
<CardBody tag="div">
<div className="category-top"></div>
<CardTitle tag="h3"></CardTitle>
<CardTitle tag="h3" className="h6"></CardTitle>
<CardText tag="p" className="font-serif"></CardText>
</CardBody>
<CardReadMore
Expand Down

0 comments on commit dc1d604

Please sign in to comment.