Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

homepage: split snippets and show copy buttons #32196

Merged
merged 1 commit into from Nov 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 0 additions & 6 deletions site/docs/4.5/assets/scss/_masthead.scss
Expand Up @@ -44,8 +44,6 @@
}

.masthead-followup {
.bd-clipboard { display: none; }

h2 {
@include font-size(2.5rem);
}
Expand All @@ -60,10 +58,6 @@
pre code {
display: inline-block;
white-space: pre;

&::before {
display: none;
}
}
}
}
Expand Down
8 changes: 5 additions & 3 deletions site/index.html
Expand Up @@ -42,10 +42,10 @@ <h2>Installation</h2>
</div>
<div class="col-md-7 pl-md-5">
{% highlight sh %}
# Via npm
npm install bootstrap
{% endhighlight %}

# Via gem
{% highlight sh %}
gem install bootstrap -v {{ site.current_ruby_version }}
{% endhighlight %}
</div>
Expand All @@ -69,8 +69,10 @@ <h2>jsDelivr</h2>
{% highlight html %}
<!-- CSS -->
<link rel="stylesheet" href="{{ site.cdn.css }}" integrity="{{ site.cdn.css_hash }}" crossorigin="anonymous">
{% endhighlight %}

<!-- jQuery and JS bundle w/ Popper.js -->
{% highlight html %}
<!-- jQuery and JavaScript Bundle with Popper.js -->
<script src="{{ site.cdn.jquery }}" integrity="{{ site.cdn.jquery_hash }}" crossorigin="anonymous"></script>
<script src="{{ site.cdn.js_bundle }}" integrity="{{ site.cdn.js_bundle_hash }}" crossorigin="anonymous"></script>
{% endhighlight %}
Expand Down