mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 20:15:27 +00:00
fix: sideway scrolling bug on mobile
This commit is contained in:
@@ -17,10 +17,12 @@ function randomPosition() {
|
||||
const imageLength = entry.data.images.length;
|
||||
---
|
||||
|
||||
<div class="col-span-full row-start-1 row-end-3 flex flex-col lg:flex-row">
|
||||
<div
|
||||
class="col-span-full row-start-1 row-end-3 flex flex-col pbs-[clamp(3rem,_5.55vw,_9rem)] lg:flex-row lg:pbs-0"
|
||||
>
|
||||
<div class="p-gap lg:w-2/6">
|
||||
<div
|
||||
class="w-[66ch] lg:sticky lg:top-[calc(100vh_/_2_-_(max(30vh,_250px)_/_2))] lg:h-[max(30vh,_250px)] lg:w-full"
|
||||
class="md:w-[66ch] lg:sticky lg:top-[calc(100vh_/_2_-_(max(30vh,_250px)_/_2))] lg:h-[max(30vh,_250px)] lg:w-full"
|
||||
{...animationDelay}
|
||||
>
|
||||
<Headline>{entry.data.title}</Headline>
|
||||
|
||||
Reference in New Issue
Block a user