Skip to content

Commit 24813cf

Browse files
committed
clean mobile layout from scratch
1 parent 69af5f8 commit 24813cf

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

index.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -164,16 +164,17 @@
164164
box-shadow: 2px 0 12px rgba(0,0,0,0.08);
165165
}
166166
.sidebar.open { left: 0; }
167-
.main { flex-direction: column; padding: 2rem 1.25rem; height: auto; gap: 0; }
168-
.left { order: 1; }
169-
.right { order: 2; width: 100%; justify-content: center; margin: 1rem 0; }
170-
#hero-preview { width: 100% !important; height: 200px !important; }
171-
#hero-preview iframe { width: 100% !important; height: 375px !important; transform: scale(0.533) !important; transform-origin: top left !important; }
172-
.examples-grid { grid-template-columns: 1fr !important; }
167+
/* Stack hero: text first, logo second, examples below */
168+
.main { flex-direction: column; padding: 2rem 1.25rem; height: auto; max-height: none; }
169+
.left { order: 1; width: 100%; }
170+
.right { order: 2; width: 100%; display: flex; justify-content: center; margin: 1.5rem 0 0; }
171+
#hero-preview { width: 280px; height: 320px; }
172+
/* Single column examples and cards */
173+
.examples-grid { grid-template-columns: 1fr; }
174+
.gs-cards { grid-template-columns: 1fr; }
173175
.getting-started-section { padding: 2rem 1.25rem; }
174-
.gs-cards { grid-template-columns: 1fr !important; }
175-
.right img { width: 180px; height: 180px; }
176-
.scroll-hint { position: static; transform: none; display: block; text-align: center; padding: 1rem 0; animation: none; }
176+
/* Hide the arrow editor toggle on mobile */
177+
button[onclick="toggleHeroEditor()"] { display: none; }
177178
}
178179
</style>
179180
</head>

0 commit comments

Comments
 (0)