umami-software / website

Umami website
https://umami.is
187 stars 92 forks source link

Overflow on Mobile devices on docs page. #174

Closed patelvivekdev closed 6 months ago

patelvivekdev commented 6 months ago

Umami-mobile

// docs/[[...id]]/page.tsx

export default async function ({ params: { id = [] } }: { params: { id: string[] } }) {
  const doc = await getDoc(id?.join('/'));

  return (
    <div className={styles.page}>
      <div className={styles.content}>
        <Markdown>{doc?.body}</Markdown>
      </div>
      <PageLinks items={doc?.anchors} offset={150} />
    </div>
  );
}

No {styles.content} is defined in CSS.