Skip to content

Commit 9d64a98

Browse files
Fix grid and alignment of Features example (#37502)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
1 parent 3e8c886 commit 9d64a98

File tree

1 file changed

+36
-37
lines changed

1 file changed

+36
-37
lines changed

site/content/docs/5.2/examples/features/index.html

+36-37
Original file line numberDiff line numberDiff line change
@@ -292,54 +292,53 @@ <h3 class="fw-bold mb-0 fs-4">Featured title</h3>
292292
<h2 class="pb-2 border-bottom">Features with title</h2>
293293

294294
<div class="row row-cols-1 row-cols-md-2 align-items-md-center g-5 py-5">
295-
<div class="d-flex flex-column align-items-start gap-2">
295+
<div class="col d-flex flex-column align-items-start gap-2">
296296
<h3 class="fw-bold">Left-aligned title explaining these awesome features</h3>
297297
<p class="text-muted">Paragraph of text beneath the heading to explain the heading. We'll add onto it with another sentence and probably just keep going until we run out of words.</p>
298298
<a href="#" class="btn btn-primary btn-lg">Primary button</a>
299299
</div>
300-
<div class="row row-cols-1 row-cols-sm-2 g-4">
301-
<div class="d-flex flex-column gap-2">
302-
<div
303-
class="feature-icon-small d-inline-flex align-items-center justify-content-center text-bg-primary bg-gradient fs-4 rounded-3">
304-
<svg class="bi" width="1em" height="1em">
305-
<use xlink:href="#collection" />
306-
</svg>
300+
301+
<div class="col">
302+
<div class="row row-cols-1 row-cols-sm-2 g-4">
303+
<div class="col d-flex flex-column gap-2">
304+
<div class="feature-icon-small d-inline-flex align-items-center justify-content-center text-bg-primary bg-gradient fs-4 rounded-3">
305+
<svg class="bi" width="1em" height="1em">
306+
<use xlink:href="#collection" />
307+
</svg>
308+
</div>
309+
<h4 class="fw-semibold mb-0">Featured title</h4>
310+
<p class="text-muted">Paragraph of text beneath the heading to explain the heading.</p>
307311
</div>
308-
<h4 class="fw-semibold mb-0">Featured title</h4>
309-
<p class="text-muted">Paragraph of text beneath the heading to explain the heading.</p>
310-
</div>
311312

312-
<div class="d-flex flex-column gap-2">
313-
<div
314-
class="feature-icon-small d-inline-flex align-items-center justify-content-center text-bg-primary bg-gradient fs-4 rounded-3">
315-
<svg class="bi" width="1em" height="1em">
316-
<use xlink:href="#gear-fill" />
317-
</svg>
313+
<div class="col d-flex flex-column gap-2">
314+
<div class="feature-icon-small d-inline-flex align-items-center justify-content-center text-bg-primary bg-gradient fs-4 rounded-3">
315+
<svg class="bi" width="1em" height="1em">
316+
<use xlink:href="#gear-fill" />
317+
</svg>
318+
</div>
319+
<h4 class="fw-semibold mb-0">Featured title</h4>
320+
<p class="text-muted">Paragraph of text beneath the heading to explain the heading.</p>
318321
</div>
319-
<h4 class="fw-semibold mb-0">Featured title</h4>
320-
<p class="text-muted">Paragraph of text beneath the heading to explain the heading.</p>
321-
</div>
322322

323-
<div class="d-flex flex-column gap-2">
324-
<div
325-
class="feature-icon-small d-inline-flex align-items-center justify-content-center text-bg-primary bg-gradient fs-4 rounded-3">
326-
<svg class="bi" width="1em" height="1em">
327-
<use xlink:href="#speedometer" />
328-
</svg>
323+
<div class="col d-flex flex-column gap-2">
324+
<div class="feature-icon-small d-inline-flex align-items-center justify-content-center text-bg-primary bg-gradient fs-4 rounded-3">
325+
<svg class="bi" width="1em" height="1em">
326+
<use xlink:href="#speedometer" />
327+
</svg>
328+
</div>
329+
<h4 class="fw-semibold mb-0">Featured title</h4>
330+
<p class="text-muted">Paragraph of text beneath the heading to explain the heading.</p>
329331
</div>
330-
<h4 class="fw-semibold mb-0">Featured title</h4>
331-
<p class="text-muted">Paragraph of text beneath the heading to explain the heading.</p>
332-
</div>
333332

334-
<div class="d-flex flex-column gap-2">
335-
<div
336-
class="feature-icon-small d-inline-flex align-items-center justify-content-center text-bg-primary bg-gradient fs-4 rounded-3">
337-
<svg class="bi" width="1em" height="1em">
338-
<use xlink:href="#table" />
339-
</svg>
333+
<div class="col d-flex flex-column gap-2">
334+
<div class="feature-icon-small d-inline-flex align-items-center justify-content-center text-bg-primary bg-gradient fs-4 rounded-3">
335+
<svg class="bi" width="1em" height="1em">
336+
<use xlink:href="#table" />
337+
</svg>
338+
</div>
339+
<h4 class="fw-semibold mb-0">Featured title</h4>
340+
<p class="text-muted">Paragraph of text beneath the heading to explain the heading.</p>
340341
</div>
341-
<h4 class="fw-semibold mb-0">Featured title</h4>
342-
<p class="text-muted">Paragraph of text beneath the heading to explain the heading.</p>
343342
</div>
344343
</div>
345344
</div>

0 commit comments

Comments
 (0)