Skip to content

Commit 8a4a159

Browse files
Updated values for carousel to match width and reduce jittering
1 parent cdaed85 commit 8a4a159

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/main/java/com/cornellappdev/hustle/ui/components/general/service/ServiceHorizontalCarouselSection.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ fun ServiceHorizontalCarouselSection(
3535
header()
3636
HorizontalUncontainedCarousel(
3737
state = carouselState,
38-
itemWidth = 182.dp,
39-
itemSpacing = HustleSpacing.small,
38+
itemWidth = 186.dp,
39+
itemSpacing = 4.dp,
4040
contentPadding = PaddingValues(horizontal = HustleSpacing.large),
4141
) { i ->
4242
val service = serviceListings[i]

0 commit comments

Comments
 (0)