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

fix: correct carousel button styles in editor #1680

Merged
merged 1 commit into from
Mar 1, 2024
Merged
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
8 changes: 4 additions & 4 deletions src/blocks/carousel/edit.js
Original file line number Diff line number Diff line change
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