Skip to content

Commit 9da10aa

Browse files
committed
fix: hero terminal fixed size, no accordion, pre-wrap, wider layout
1 parent 090f9ae commit 9da10aa

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docs/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
margin: 0 auto;
168168
padding: 3.5rem 2rem 3rem;
169169
display: grid;
170-
grid-template-columns: 1fr 1fr;
170+
grid-template-columns: 1fr 1.4fr;
171171
gap: 3rem;
172172
align-items: center;
173173
}
@@ -257,6 +257,8 @@
257257
/* ======================================================= HERO TERMINAL */
258258
.hero-terminal-wrap {
259259
position: relative;
260+
min-width: 0;
261+
overflow: hidden;
260262
}
261263

262264

@@ -867,7 +869,7 @@ <h1 class="hero-title">
867869
<span class="tl tl-g"></span>
868870
<span class="terminal-title">do-manager</span>
869871
</div>
870-
<div class="terminal-body" id="hero-term" style="min-height:220px">
872+
<div class="terminal-body" id="hero-term" style="height:260px;overflow:hidden;white-space:pre-wrap">
871873
<span class="p">$ </span><span id="type-line" class="c"></span><span class="cursor" id="cursor"></span>
872874
</div>
873875
</div>

0 commit comments

Comments
 (0)