Skip to content

Commit 69af5f8

Browse files
committed
fix mobile hero ordering and revert editor button to blue
1 parent 64988eb commit 69af5f8

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,11 @@
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: 1.5rem; }
168-
.hero-text { order: 1; }
169-
#hero-preview { order: 2; width: 100% !important; height: 220px !important; }
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; }
170172
.examples-grid { grid-template-columns: 1fr !important; }
171173
.getting-started-section { padding: 2rem 1.25rem; }
172174
.gs-cards { grid-template-columns: 1fr !important; }
@@ -194,7 +196,7 @@ <h1 style="font-family:'Space Grotesk',sans-serif;font-size:2rem;font-weight:600
194196
<div class="hero-actions">
195197
<a class="hero-link" href="/reference">Reference</a>
196198
<a class="hero-btn-download" href="/downloads">Download</a>
197-
<a class="hero-btn-download" href="/editor" style="background:#e8b400;color:#111;">Open Editor</a>
199+
<a class="hero-btn-download" href="/editor" style="background:#4b9cd3;color:#fff;">Open Editor</a>
198200
</div>
199201
<textarea id="hero-editor" style="display:none;"></textarea>
200202

0 commit comments

Comments
 (0)