Skip to content

Commit 1486a0d

Browse files
committed
Hoist typography styles
1 parent 130e3eb commit 1486a0d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/app/course/page.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,29 +47,29 @@ export default async function Course() {
4747
</div>
4848
</div>
4949
<div className="px-2 pt-14 pb-28">
50-
<div className="max-w-xl space-y-8 text-base/7 text-gray-400 **:[strong]:font-medium **:[strong]:text-white">
50+
<div className="max-w-xl space-y-8 text-base/7 text-gray-400 marker:text-white/60 **:[li]:pl-2 **:[strong]:font-medium **:[strong]:text-white **:[ul]:list-[square] **:[ul]:space-y-4 **:[ul]:pl-8">
5151
<p>
5252
When you build UI components that are used by <strong>tens of thousands of developers</strong>, you learn to
5353
really care about the details, like:
5454
</p>
55-
<ul className="list-[square] space-y-4 pl-8 marker:text-white/60">
56-
<li className="pl-2">
55+
<ul>
56+
<li>
5757
<strong>Building layouts that don't break</strong> when the content is longer than you planned for in
5858
Figma
5959
</li>
60-
<li className="pl-2">
60+
<li>
6161
Making a table scrollable, <strong>without the content getting cropped</strong> by the page padding
6262
</li>
63-
<li className="pl-2">
63+
<li>
6464
<strong>Automatically aligning icons</strong> in dropdown menus, even when some items are just text
6565
</li>
66-
<li className="pl-2">
66+
<li>
6767
Making an entire card clickable, <strong>without destroying the experience</strong> for screen readers
6868
</li>
69-
<li className="pl-2">
69+
<li>
7070
<strong>Fine-tuning click targets for mobile</strong>, without making everything else harder to maintain
7171
</li>
72-
<li className="pl-2">
72+
<li>
7373
Getting the border radius <strong>mathematically perfect</strong> on nested elements, without hard-coding
7474
magic numbers
7575
</li>

0 commit comments

Comments
 (0)