Skip to content

Commit 5e7c125

Browse files
Merge pull request #3741 from opral/fix-mobile-view
fix mobile view
2 parents 879663d + b23fd7b commit 5e7c125

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

packages/lix/docs/docs/components/landing-page.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -432,13 +432,13 @@ function LandingPage() {
432432
<div className="absolute inset-0 bg-[linear-gradient(to_right,#80808012_1px,transparent_1px),linear-gradient(to_bottom,#80808012_1px,transparent_1px)] bg-[size:24px_24px] pointer-events-none" />
433433
<div className="absolute inset-x-0 bottom-0 h-32 bg-gradient-to-b from-transparent to-white pointer-events-none" />
434434
<div className="relative max-w-5xl mx-auto text-center">
435-
<h1 className="text-gray-900 font-bold leading-tight text-4xl sm:text-5xl lg:text-6xl tracking-tight mb-8">
435+
<h1 className="text-gray-900 font-bold leading-tight text-4xl sm:text-6xl tracking-tight mb-8">
436436
Change control SDK for
437437
<br />
438438
apps and <span style={{ color: "#0692B6" }}>AI agents</span>
439439
</h1>
440440

441-
<p className="text-gray-600 text-lg sm:text-xl max-w-3xl mx-auto leading-relaxed mt-12">
441+
<p className="text-gray-600 text-base sm:text-xl max-w-3xl mx-auto leading-relaxed mt-12">
442442
Lix is a JavaScript SDK that enables Git-like capabilities for
443443
apps and agents:
444444
<br />
@@ -587,7 +587,10 @@ function LandingPage() {
587587
</h3>
588588
<span className="relative inline-flex items-center text-sm font-medium text-[#0692B6]">
589589
<span className="sr-only">{ctaLabel}</span>
590-
<span className="flex items-center gap-1 opacity-0 transition-opacity duration-200 group-hover:opacity-100" style={{ color: '#047497' }}>
590+
<span
591+
className="flex items-center gap-1 opacity-0 transition-opacity duration-200 group-hover:opacity-100"
592+
style={{ color: "#047497" }}
593+
>
591594
Open
592595
<span aria-hidden></span>
593596
</span>
@@ -609,7 +612,7 @@ function LandingPage() {
609612
</h2>
610613
</div>
611614

612-
<div className="grid gap-10 lg:grid-cols-[minmax(0,260px)_1fr]">
615+
<div className="grid grid-cols-1 gap-10 lg:grid-cols-[minmax(0,260px)_1fr]">
613616
<div className="flex flex-col justify-between gap-4">
614617
{howItWorksSteps.map(
615618
({ number, title, description, offsetClass }) => (
@@ -629,7 +632,7 @@ function LandingPage() {
629632
)}
630633
</div>
631634

632-
<div className="rounded-2xl border border-gray-200 bg-white">
635+
<div className="min-w-0 overflow-hidden rounded-2xl border border-gray-200 bg-white">
633636
<div className="flex items-center gap-2 rounded-t-2xl border-b border-gray-200 px-4 py-3 bg-gray-50">
634637
<span className="flex h-3 w-3 rounded-full bg-red-400" />
635638
<span className="flex h-3 w-3 rounded-full bg-yellow-300" />
@@ -638,7 +641,7 @@ function LandingPage() {
638641
example.ts
639642
</span>
640643
</div>
641-
<pre className="overflow-x-auto px-6 py-6 text-sm leading-7 text-gray-900 bg-white">
644+
<pre className="w-full overflow-x-auto px-6 py-6 text-sm leading-7 text-gray-900 bg-white">
642645
<code>
643646
<span className="text-indigo-600">import</span>{" "}
644647
<span className="text-gray-900">
@@ -774,10 +777,7 @@ function LandingPage() {
774777
<div className="mt-14 grid grid-cols-1 gap-10 sm:grid-cols-2 xl:grid-cols-3">
775778
{featureSpotlights.map(
776779
({ id, title, description, Illustration }) => (
777-
<div
778-
key={id}
779-
className="flex flex-col gap-6"
780-
>
780+
<div key={id} className="flex flex-col gap-6">
781781
<div className="flex justify-center items-center h-40">
782782
<Illustration />
783783
</div>

0 commit comments

Comments
 (0)