Fix bangumi timeline shadow color

This commit is contained in:
the1812 2023-08-02 08:03:26 +08:00
parent eb5e225249
commit 6314caaf66

View File

@ -365,7 +365,6 @@ export default Vue.extend({
&-item {
@include h-center(4px);
@include border-card();
background-color: var(--home-base-color);
scroll-snap-align: start;
overflow: hidden;
padding: 0 4px 0 16px;
@ -443,7 +442,12 @@ export default Vue.extend({
}
&-seasons-container {
@include h-stretch();
@include scroll-mask-x(18px, var(--home-base-color));
body:not(.dark) & {
@include scroll-mask-x(18px, #fdfdfd);
}
body.dark & {
@include scroll-mask-x(18px, #222);
}
width: 0;
flex: 1 0 0;
margin: 0 2px;