Skip to content

Commit f0980e2

Browse files
committed
add styles
1 parent 839423b commit f0980e2

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

projects/social_platform/src/app/office/shared/carousel/carousel.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<span>{{ currentIndex + 1 }} / {{ images.length }}</span>
88
</div>
99
<button class="carousel__btn carousel__btn--prev" (click)="prev()">
10-
<i appIcon icon="arrowright" appSquare="20" style="transform: rotate(180deg)"></i>
10+
<i appIcon icon="arrowright" appSquare="20"></i>
1111
</button>
1212

1313
<button class="carousel__btn carousel__btn--next" (click)="next()">

projects/social_platform/src/app/office/shared/carousel/carousel.component.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
right: 10px;
2727
z-index: 10;
2828
padding: 2px 20px;
29-
color: var(--dark-grey);
3029
background-color: rgb(66 66 66 / 30%);
3130
border-radius: 15px;
3231

3332
span {
34-
color: var(--gray);
33+
color: var(--white);
34+
opacity: 0.6;
3535

3636
@include typography.body-12;
3737
}
@@ -41,12 +41,12 @@
4141
position: absolute;
4242
top: 50%;
4343
z-index: 1;
44-
padding: 10px 12px;
44+
padding: 5px;
4545
cursor: pointer;
4646
background-color: rgb(66 66 66 / 30%);
4747
border: none;
4848
border-radius: 100%;
49-
transform: translateY(-50%);
49+
transform: translateY(-50%) rotate(180deg);
5050
}
5151

5252
&__btn--prev {

0 commit comments

Comments
 (0)