rtl-for-older-browsers
Cory LaViska 2024-10-01 16:30:35 -04:00
rodzic e91dc034d0
commit 62648e7cc3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -498,7 +498,7 @@ export default class SlCarousel extends ShoelaceElement {
const currentPage = this.getCurrentPage();
const prevEnabled = this.canScrollPrev();
const nextEnabled = this.canScrollNext();
const isLtr = this.matches(':dir(ltr)');
const isLtr = this.localize.dir() === 'rtl';
return html`
<div part="base" class="carousel">