forked from emre/www_projectmycelium_com
feat: improve carousel scroll behavior to align fourth card with viewport edge
This commit is contained in:
@@ -60,7 +60,7 @@ export function ComputeCapabilitiesNew() {
|
|||||||
{/* Horizontal Slider — shows part of next card */}
|
{/* Horizontal Slider — shows part of next card */}
|
||||||
<ul
|
<ul
|
||||||
ref={sliderRef}
|
ref={sliderRef}
|
||||||
className="flex overflow-x-auto snap-x snap-mandatory scroll-smooth no-scrollbar pr-[10%]"
|
className="flex overflow-x-auto snap-x snap-mandatory scroll-smooth no-scrollbar"
|
||||||
>
|
>
|
||||||
{capabilities.map((item, idx) => (
|
{capabilities.map((item, idx) => (
|
||||||
<li
|
<li
|
||||||
|
|||||||
Reference in New Issue
Block a user