Feature/optimize testimonial carousel style on mobile (#2634)
* Optimize style on mobile * Update changelog
This commit is contained in:
parent
b4de06fcf0
commit
5dc538bafb
@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Changed
|
### 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
|
- Harmonized the name column in the historical market data table of the admin control panel
|
||||||
|
|
||||||
## 2.21.0 - 2023-11-09
|
## 2.21.0 - 2023-11-09
|
||||||
|
@ -327,7 +327,7 @@
|
|||||||
<div class="col-md-8 offset-md-2">
|
<div class="col-md-8 offset-md-2">
|
||||||
<gf-carousel [aria-label]="'Testimonials'">
|
<gf-carousel [aria-label]="'Testimonials'">
|
||||||
<div *ngFor="let testimonial of testimonials" gf-carousel-item>
|
<div *ngFor="let testimonial of testimonials" gf-carousel-item>
|
||||||
<div class="d-flex px-3">
|
<div class="d-flex px-4">
|
||||||
<gf-logo
|
<gf-logo
|
||||||
class="mr-3 mt-2 pt-1"
|
class="mr-3 mt-2 pt-1"
|
||||||
size="medium"
|
size="medium"
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
*ngIf="this.showPrevArrow"
|
*ngIf="this.showPrevArrow"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
aria-label="previous"
|
aria-label="previous"
|
||||||
class="carousel-nav carousel-nav-prev no-min-width position-absolute"
|
class="carousel-nav carousel-nav-prev no-min-width position-absolute px-1"
|
||||||
mat-stroked-button
|
mat-button
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
(click)="previous()"
|
(click)="previous()"
|
||||||
>
|
>
|
||||||
@ -25,8 +25,8 @@
|
|||||||
*ngIf="this.showNextArrow"
|
*ngIf="this.showNextArrow"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
aria-label="next"
|
aria-label="next"
|
||||||
class="carousel-nav carousel-nav-next no-min-width position-absolute"
|
class="carousel-nav carousel-nav-next no-min-width position-absolute px-1"
|
||||||
mat-stroked-button
|
mat-button
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
(click)="next()"
|
(click)="next()"
|
||||||
>
|
>
|
||||||
|
@ -12,13 +12,14 @@
|
|||||||
button {
|
button {
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
|
z-index: 1;
|
||||||
|
|
||||||
&.carousel-nav-prev {
|
&.carousel-nav-prev {
|
||||||
left: -50px;
|
left: -0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.carousel-nav-next {
|
&.carousel-nav-next {
|
||||||
right: -50px;
|
right: -0.5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user