Skip to content

Commit

Permalink
fix(carousel): fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Enlcxx committed Feb 21, 2020
1 parent cbde128 commit cae9497
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/lib/carousel/carousel.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*ngFor="let item of lyItems; index as i"
>
<span ly-paper
color="#000"
color="#000000"
bg="background:primary"
[class.active]="selectedIndex==i"
[elevation]="8"
Expand Down
6 changes: 3 additions & 3 deletions src/lib/carousel/carousel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const STYLES = (theme: ThemeVariables & LyCarouselVariables, ref: ThemeRe
position: relative
padding: .5em
outline: none
},
}
&>div > span {
transition: 300ms cubic-bezier(0.65, 0.05, 0.36, 1)
width: 1em
Expand All @@ -159,8 +159,8 @@ export const STYLES = (theme: ThemeVariables & LyCarouselVariables, ref: ThemeRe
will-change: transform
display: block
opacity: .65
},
'&>div>span.active {
}
&>div>span.active {
transform: scale(1)
opacity: 1
}
Expand Down

0 comments on commit cae9497

Please sign in to comment.