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 */}
|
||||
<ul
|
||||
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) => (
|
||||
<li
|
||||
|
||||
Reference in New Issue
Block a user