Skip to content

Commit

Permalink
fix: correct carousel button styles in editor (#1680)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelfulford committed Mar 1, 2024
1 parent 2153121 commit d4aba73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/blocks/carousel/edit.js
Expand Up @@ -250,8 +250,8 @@ class Edit extends Component {
<Fragment>
{ autoplay && (
<Fragment>
<button ref={ this.btnPauseRef } />
<button ref={ this.btnPlayRef } />
<button className="swiper-button swiper-button-pause" ref={ this.btnPauseRef } />
<button className="swiper-button swiper-button-play" ref={ this.btnPlayRef } />
</Fragment>
) }
<div className="swiper-wrapper">
Expand Down Expand Up @@ -339,8 +339,8 @@ class Edit extends Component {
</div>
{ ! hasNoPosts && ! hasOnePost && (
<>
<button className="swiper-button-prev" ref={ this.btnPrevRef } />
<button className="swiper-button-next" ref={ this.btnNextRef } />
<button className="swiper-button-prev swiper-button" ref={ this.btnPrevRef } />
<button className="swiper-button-next swiper-button" ref={ this.btnNextRef } />
<div
className="swiper-pagination swiper-pagination-bullets"
ref={ this.paginationRef }
Expand Down

0 comments on commit d4aba73

Please sign in to comment.