mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added a truncation for mobile for the comments title
This commit is contained in:
parent
c69409cbac
commit
3dd1cb026a
1 changed files with 4 additions and 1 deletions
|
@ -23,7 +23,10 @@ const CommentsBoxContent = (props) => {
|
|||
<>
|
||||
{/* {TODO: Put in conditionals and variables for the new comment helper} */}
|
||||
<div className="w-full flex justify-between items-baseline font-sans mb-10">
|
||||
<h2 className="font-bold text-[2.8rem] tracking-tight">Member discussion</h2>
|
||||
<h2 className="font-bold text-[2.8rem] tracking-tight dark:text-[rgba(255,255,255,0.85)]">
|
||||
{/* This will truncate to "Discussion" on mobile screens to save space */}
|
||||
<span className="hidden sm:inline">Member </span><span className="capitalize sm:normal-case">discussion</span>
|
||||
</h2>
|
||||
<div className="text-neutral-400 text-[1.6rem] font-medium">{commentsCount} comments</div>
|
||||
</div>
|
||||
<Pagination />
|
||||
|
|
Loading…
Add table
Reference in a new issue