Skip to content

Commit 7b72f8f

Browse files
Docs: replaced deprecated .display-6 with .fs-3xl .fw-light
Spotted in #42487
1 parent af1e186 commit 7b72f8f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

site/src/assets/examples/features/index.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export const extra_css = ['features.css']
150150
<div class="col">
151151
<div class="card card-cover h-100 overflow-hidden rounded-4 shadow-lg" style="background-image: url('unsplash-photo-1.jpg');">
152152
<div class="d-flex flex-column h-100 p-5 pb-3 fg-white text-shadow-1">
153-
<h3 class="pt-5 mt-5 mb-4 display-6 lh-1 fw-bold">Short title, long jacket</h3>
153+
<h3 class="pt-5 mt-5 mb-4 fs-3xl lh-1 fw-bold">Short title, long jacket</h3>
154154
<ul class="d-flex list-unstyled mt-auto">
155155
<li class="me-auto">
156156
<img src="https://github.com/twbs.png" alt="Bootstrap" width="32" height="32" class="rounded-circle border border-white">
@@ -171,7 +171,7 @@ export const extra_css = ['features.css']
171171
<div class="col">
172172
<div class="card card-cover h-100 overflow-hidden rounded-4 shadow-lg" style="background-image: url('unsplash-photo-2.jpg');">
173173
<div class="d-flex flex-column h-100 p-5 pb-3 fg-white text-shadow-1">
174-
<h3 class="pt-5 mt-5 mb-4 display-6 lh-1 fw-bold">Much longer title that wraps to multiple lines</h3>
174+
<h3 class="pt-5 mt-5 mb-4 fs-3xl lh-1 fw-bold">Much longer title that wraps to multiple lines</h3>
175175
<ul class="d-flex list-unstyled mt-auto">
176176
<li class="me-auto">
177177
<img src="https://github.com/twbs.png" alt="Bootstrap" width="32" height="32" class="rounded-circle border border-white">
@@ -192,7 +192,7 @@ export const extra_css = ['features.css']
192192
<div class="col">
193193
<div class="card card-cover h-100 overflow-hidden rounded-4 shadow-lg" style="background-image: url('unsplash-photo-3.jpg');">
194194
<div class="d-flex flex-column h-100 p-5 pb-3 fg-white text-shadow-1">
195-
<h3 class="pt-5 mt-5 mb-4 display-6 lh-1 fw-bold">Another longer title belongs here</h3>
195+
<h3 class="pt-5 mt-5 mb-4 fs-3xl lh-1 fw-bold">Another longer title belongs here</h3>
196196
<ul class="d-flex list-unstyled mt-auto">
197197
<li class="me-auto">
198198
<img src="https://github.com/twbs.png" alt="Bootstrap" width="32" height="32" class="rounded-circle border border-white">

site/src/assets/examples/pricing/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const extra_css = ['pricing.css']
8989
</div>
9090
</div>
9191

92-
<h2 class="display-6 text-center mb-4">Compare plans</h2>
92+
<h2 class="fs-3xl fw-light text-center mb-4">Compare plans</h2>
9393

9494
<div class="table-responsive">
9595
<table class="table text-center">

0 commit comments

Comments
 (0)