Skip to content

Commit

Permalink
Fix single view icon examples (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo authored Mar 29, 2021
1 parent 1ef2c40 commit c934d87
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/assets/scss/docs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,14 @@
background-size: 1rem 1rem;
}

.icon-demo,
.icon-demo-examples {
.bi {
width: 1em;
height: 1em;
}
}

// stylelint-disable declaration-no-important
.py-6 {
padding-top: 4.5rem !important;
Expand Down
2 changes: 1 addition & 1 deletion docs/layouts/icons/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h1>{{ .Title }}</h1>
</div>

<h2>Examples</h2>
<div class="p-3 p-md-4 border rounded-3">
<div class="p-3 p-md-4 border rounded-3 icon-demo-examples">
<div class="fs-2 mb-3">
{{ $svgHtml }}
Heading
Expand Down

0 comments on commit c934d87

Please sign in to comment.