fix(ui): mobile filter scroll fade and button alignment (#2767)

This commit is contained in:
Alex
2026-09-26 20:00:51 +01:00
committed by GitHub
parent 6a962bcbac
commit a8b1c85931
@@ -21,14 +21,9 @@ import {type BrowseFilterChip} from '../facets';
#000 calc(100% - var(--chips-fade-r)), #000 calc(100% - var(--chips-fade-r)),
transparent 100% transparent 100%
); );
}
@supports (animation-timeline: scroll()) {
.chips-track {
animation: chips-fade linear; animation: chips-fade linear;
animation-timeline: scroll(self inline); animation-timeline: scroll(self inline);
} }
}
@keyframes chips-fade { @keyframes chips-fade {
0% {--chips-fade-l: 0px; --chips-fade-r: 2rem;} 0% {--chips-fade-l: 0px; --chips-fade-r: 2rem;}
@@ -66,7 +61,7 @@ import {type BrowseFilterChip} from '../facets';
} }
</div> </div>
<app-button <app-button
class="flex h-[22px] shrink-0" class="flex h-[22px] shrink-0 pointer-coarse:h-10"
variant="ghost" variant="ghost"
size="sm" size="sm"
styleClass="h-[22px] px-2" styleClass="h-[22px] px-2"