Skip to content

Commit

Permalink
Fix page scroll bug (#234)
Browse files Browse the repository at this point in the history
Co-authored-by: Augusto Barbosa <[email protected]>
  • Loading branch information
augustocb and Augusto Barbosa authored May 20, 2023
1 parent ff38728 commit e363a86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/ui/BannerCarousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function BannerCarousel({ images, preload, interval }: Props) {
id={id}
class="grid grid-cols-[48px_1fr_48px] sm:grid-cols-[120px_1fr_120px] grid-rows-[1fr_48px_1fr_64px]"
>
<Slider class="carousel carousel-center w-screen col-span-full row-span-full scrollbar-none gap-6">
<Slider class="carousel carousel-center w-full col-span-full row-span-full scrollbar-none gap-6">
{images?.map((image, index) => (
<Slider.Item index={index} class="carousel-item w-full">
<BannerItem image={image} lcp={index === 0 && preload} />
Expand Down
6 changes: 3 additions & 3 deletions schemas.gen.json
Original file line number Diff line number Diff line change
Expand Up @@ -7502,7 +7502,7 @@
"required": [],
"title": "OptionalColors"
},
"ZGVjby1zaXRlcy9mYXNoaW9uL3NlY3Rpb25zL0Rlc2lnblN5c3RlbS50c3g=@Colors&a447caee3af042324c267f64dbe39389": {
"ZGVjby1zaXRlcy9mYXNoaW9uL3NlY3Rpb25zL0Rlc2lnblN5c3RlbS50c3g=@Colors&b966eeb0bbdb3699ee11b12ce6a39cc4": {
"allOf": [
{
"$ref": "#/definitions/ZGVjby1zaXRlcy9mYXNoaW9uL3NlY3Rpb25zL0Rlc2lnblN5c3RlbS50c3g=@Colors"
Expand All @@ -7518,7 +7518,7 @@
"required": []
}
],
"title": "Colors&a447caee3af042324c267f64dbe39389"
"title": "Colors&b966eeb0bbdb3699ee11b12ce6a39cc4"
},
"ZGVjby1zaXRlcy9mYXNoaW9uL3NlY3Rpb25zL0Rlc2lnblN5c3RlbS50c3g=@Miscellaneous": {
"type": "object",
Expand Down Expand Up @@ -7621,7 +7621,7 @@
"type": "object",
"properties": {
"colors": {
"$ref": "#/definitions/ZGVjby1zaXRlcy9mYXNoaW9uL3NlY3Rpb25zL0Rlc2lnblN5c3RlbS50c3g=@Colors&a447caee3af042324c267f64dbe39389",
"$ref": "#/definitions/ZGVjby1zaXRlcy9mYXNoaW9uL3NlY3Rpb25zL0Rlc2lnblN5c3RlbS50c3g=@Colors&b966eeb0bbdb3699ee11b12ce6a39cc4",
"title": "Colors"
},
"miscellaneous": {
Expand Down

0 comments on commit e363a86

Please sign in to comment.