8000 Update examples to account for #18185 · liuwenye2010/bootstrap@8503278 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8503278

Browse files
committed
Update examples to account for twbs#18185
[skip sauce]
1 parent 6faa260 commit 8503278

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

docs/components/jumbotron.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A lightweight, flexible component that can optionally extend the entire viewport
1212
<div class="jumbotron">
1313
<h1 class="display-3">Hello, world!</h1>
1414
<p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
15-
<hr class="m-y-md">
15+
<hr class="m-y-2">
1616
<p>It uses utility classes for typography and spacing to space content out within the larger container.</p>
1717
<p class="lead">
1818
<a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a>

docs/components/navbar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Our collapse plugin allows you to use a `<button>` or `<a>` to toggle hidden con
241241

242242
{% example html %}
243243
<div class="collapse" id="exCollapsingNavbar">
244-
<div class="bg-inverse p-a">
244+
<div class="bg-inverse p-a-1">
245245
<h4>Collapsed content</h4>
246246
<span class="text-muted">Toggleable via the navbar brand.</span>
247247
</div>

docs/examples/navbar-top-fixed/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<div class="pos-f-t">
2323
<div class="collapse" id="navbar-header">
24-
<div class="container-fluid bg-inverse p-a">
24+
<div class="container-fluid bg-inverse p-a-1">
2525
<h3>Collapsed content</h3>
2626
<p>Toggleable via the navbar brand.</p>
2727
</div>

docs/examples/navbar-top/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
<body>
2121

2222
<div class="collapse" id="navbar-header">
23-
<div class="container-fluid bg-inverse p-a">
23+
<div class="container-fluid bg-inverse p-a-1">
2424
<h3>Collapsed content</h3>
2525
<p>Toggleable via the navbar brand.</p>
2626
</div>
2727
</div>
28-
<div class="navbar navbar-light bg-faded navbar-static-top m-b">
28+
<div class="navbar navbar-light bg-faded navbar-static-top m-b-1">
2929
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-header">
3030
&#9776;
3131
</button>

docs/examples/sticky-footer-navbar/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<!-- Fixed navbar -->
2424
<div class="pos-f-t">
2525
<div class="collapse" id="navbar-header">
26-
<div class="container bg-inverse p-a">
26+
<div class="container bg-inverse p-a-1">
2727
<h3>Collapsed content</h3>
2828
<p>Toggleable via the navbar brand.</p>
2929
</div>
@@ -56,7 +56,7 @@ <h3>Collapsed content</h3>
5656

5757
<!-- Begin page content -->
5858
<div class="container">
59-
<div class="page-header m-t">
59+
<div class="page-header m-t-1">
6060
<h1>Sticky footer with fixed navbar</h1>
6161
</div>
6262
<p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with <code>padding-top: 60px;</code> on the <code>body > .container</code>.</p>

docs/examples/sticky-footer/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<!-- Begin page content -->
2424
<div class="container">
25-
<div class="page-header m-t">
25+
<div class="page-header m-t-1">
2626
<h1>Sticky footer</h1>
2727
</div>
2828
<p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.</p>

docs/getting-started/download.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ group: getting-started
66

77
**Bootstrap v{{ site.current_version}}** is available for download in several ways, including some of your favorite package managers. Choose from the options below to snag just what you need.
88

9-
<div class="row m-t-md">
9+
<div class="row m-t-2">
1010
<div class="col-sm-6">
1111
{% markdown %}
1212
### Compiled

docs/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ <h2 class="bd-featurette-title">Easy to get started.</h2>
2121
<p class="lead">Quickly include Bootstrap's CSS and JS into any project. Use your favorite package manager, download the source, or use the Bootstrap CDN.</p>
2222

2323
<div class="row">
24-
<div class="col-sm-6 m-b-lg">
24+
<div class="col-sm-6 m-b-3">
2525
<h4>Managed dependencies</h4>
2626
<p>Include Bootstrap's source Sass and JavaScript files via Bower, Composer, Meteor, or npm. Package managed installs don't include documentation, but do include our Gruntfile and readme.</p>
2727
<p>
2828
<a class="btn btn-bs btn-outline" href="{{ site.baseurl }}/getting-started/download/#package-managers">View install methods</a>
2929
</p>
3030
</div>
31-
<div class="col-sm-6 m-b-lg">
31+
<div class="col-sm-6 m-b-3">
3232
<h4>Bootstrap CDN</h4>
3333
<p>When you just need to include Bootstrap's compiled CSS and JS, use the Bootstrap CDN, free from the Max CDN folks.</p>
3434
{% highlight html %}
@@ -52,17 +52,17 @@ <h2 class="bd-featurette-title">Designed for everyone, everywhere.</h2>
5252
<p class="lead">Bootstrap makes front-end web development faster and easier. It's made for folks of all skill levels, devices of all shapes, and projects of all sizes.</p>
5353

5454
<div class="row">
55-
<div class="col-sm-4 m-b-lg">
55+
<div class="col-sm-4 m-b-3">
5656
<img src="assets/img/sass.png" alt="Sass support" class="img-fluid">
5757
<h4>Preprocessor</h4>
5858
<p>Bootstrap ships with vanilla CSS, but its source code utilizes <a href="http://sass-lang.com/">Sass</a>, a popular CSS preprocessor. Quickly get started with precompiled CSS or build on the source.</p>
5959
</div>
60-
<div class="col-sm-4 m-b-lg">
60+
<div class="col-sm-4 m-b-3">
6161
<img src="assets/img/devices.png" alt="Responsive across devices" class="img-fluid">
6262
<h4>One framework, every device.</h4>
6363
<p>Bootstrap easily and efficiently scales your websites and applications with a single code base, from phones to tablets to desktops with CSS media queries.</p>
6464
</div>
65-
<div class="col-sm-4 m-b-lg">
65+
<div class="col-sm-4 m-b-3">
6666
<img src="assets/img/components.png" alt="Components" class="img-fluid">
6767
<h4>Full of features</h4>
6868
<p>With Bootstrap, you get extensive and beautiful documentation for common HTML elements, dozens of custom HTML and CSS components, and awesome jQuery plugins.</p>

0 commit comments

Comments
 (0)
0