Skip to content

Commit

Permalink
style: update carousel controls buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Nov 22, 2022
1 parent 333ffb6 commit e38560d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions layouts/partials/carousel.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ <h5 class="mb-4 mb-lg-2">{{ .Title }}</h5>
{{- end }}
</div>
<div class="carousel-controls position-absolute d-none d-lg-block">
<button class="btn btn-sm btn-outline-secondary p-1" type="button" data-bs-target="#carouselHome" data-bs-slide="prev">
<span class="fas fa-chevron-down fa-2x" data-fa-transform="rotate-90" aria-hidden="true"></span>
<a role="button" data-bs-target="#carouselHome" data-bs-slide="prev">
<span class="fas fa-chevron-circle-down fa-2x fa-fw text-secondary rounded rounded-circle" data-fa-transform="rotate-90" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="btn btn-sm btn-outline-secondary p-1 ms-2" type="button" data-bs-target="#carouselHome" data-bs-slide="next">
<span class="fas fa-chevron-down fa-2x" data-fa-transform="rotate-270" aria-hidden="true"></span>
</a>
<a role="button" data-bs-target="#carouselHome" data-bs-slide="next">
<span class="fas fa-chevron-circle-down fa-2x fa-fw text-secondary rounded rounded-circle" data-fa-transform="rotate-270" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</a>
</div>
</div>
</div>
Expand Down

0 comments on commit e38560d

Please sign in to comment.