Skip to content

Commit

Permalink
Changed RTL processing of carousel control icons (#39536)
Browse files Browse the repository at this point in the history
* Changed RTL processing of carousel control icons

* Update scss/_carousel.scss

---------

Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
  • Loading branch information
3 people committed Feb 6, 2024
1 parent 5010e8d commit 409fd23
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions scss/_carousel.scss
Expand Up @@ -132,19 +132,11 @@
background-size: 100% 100%;
}

/* rtl:options: {
"autoRename": true,
"stringMap":[ {
"name" : "prev-next",
"search" : "prev",
"replace" : "next"
} ]
} */
.carousel-control-prev-icon {
background-image: escape-svg($carousel-control-prev-icon-bg);
background-image: escape-svg($carousel-control-prev-icon-bg) #{"/*rtl:" + escape-svg($carousel-control-next-icon-bg) + "*/"};
}
.carousel-control-next-icon {
background-image: escape-svg($carousel-control-next-icon-bg);
background-image: escape-svg($carousel-control-next-icon-bg) #{"/*rtl:" + escape-svg($carousel-control-prev-icon-bg) + "*/"};
}

// Optional indicator pips/controls
Expand Down

0 comments on commit 409fd23

Please sign in to comment.