Skip to content

Commit

Permalink
homepage: split snippets and show copy buttons (#32196)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Nov 19, 2020
1 parent 5fd0c23 commit ae87f8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
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

0 comments on commit ae87f8f

Please sign in to comment.