diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2ac4272fa..49825ad3c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
+- Optimized the style of the carousel component on mobile for the testimonial section on the landing page
- Harmonized the name column in the historical market data table of the admin control panel
## 2.21.0 - 2023-11-09
diff --git a/apps/client/src/app/pages/landing/landing-page.html b/apps/client/src/app/pages/landing/landing-page.html
index 96d5c4f7a..d3ec85f5f 100644
--- a/apps/client/src/app/pages/landing/landing-page.html
+++ b/apps/client/src/app/pages/landing/landing-page.html
@@ -327,7 +327,7 @@
-
+
@@ -25,8 +25,8 @@
*ngIf="this.showNextArrow"
aria-hidden="true"
aria-label="next"
- class="carousel-nav carousel-nav-next no-min-width position-absolute"
- mat-stroked-button
+ class="carousel-nav carousel-nav-next no-min-width position-absolute px-1"
+ mat-button
tabindex="-1"
(click)="next()"
>
diff --git a/libs/ui/src/lib/carousel/carousel.component.scss b/libs/ui/src/lib/carousel/carousel.component.scss
index 38da7c100..546c92194 100644
--- a/libs/ui/src/lib/carousel/carousel.component.scss
+++ b/libs/ui/src/lib/carousel/carousel.component.scss
@@ -12,13 +12,14 @@
button {
top: 50%;
transform: translateY(-50%);
+ z-index: 1;
&.carousel-nav-prev {
- left: -50px;
+ left: -0.5rem;
}
&.carousel-nav-next {
- right: -50px;
+ right: -0.5rem;
}
}