Skip to content

Commit ff2c582

Browse files
committedDec 6, 2024·
responsive superscript title text
1 parent eefc847 commit ff2c582

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed
 

‎app/[[...month]]/page.tsx

+11-2
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,22 @@ const IndexPage: FC<Props> = async ({ params }) => {
4040
<>
4141
Hackernews new jobs
4242
{statisticsText && (
43-
<small className="relative -top-4 align-baseline text-muted-foreground text-base tracking-normal font-semibold ml-2">
43+
<small className="hidden md:inline-block relative -top-4 align-baseline text-muted-foreground text-base tracking-normal font-semibold ml-2">
4444
{statisticsText}
4545
</small>
4646
)}
4747
</>
4848
}
49-
subTitle={`New and repeated job ads from ${firstMonth.name} to ${lastMonth.name}.`}
49+
subTitle={
50+
<>
51+
<span className="hidden md:inline">
52+
{`New and repeated job ads from ${firstMonth.name} to ${lastMonth.name}. `}
53+
</span>
54+
<span className="inline md:hidden">
55+
{`New and repeated job ads from ${firstMonth.name} to ${lastMonth.name}. ${statisticsText}.`}
56+
</span>
57+
</>
58+
}
5059
/>
5160
<LineChartMultiple chartData={lineChartMultipleData} />
5261
<NewOldCompaniesSection

‎docs/notes3.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ plausible partytown
123123
responsive table
124124
winston console prod
125125
add info logs
126-
responsive superscript title text
126+
responsive superscript title text
127127
responsive footer
128128
layout min-width 320 scroll
129-
orange old companies
129+
orange old companies
130130
metadata and og image
131131
fix scheduler logging
132132

0 commit comments

Comments
 (0)
Please sign in to comment.