Skip to content

Commit 37bf85e

Browse files
author
b
committed
fix: restore full xterm viewport and tighten cli spacing
1 parent c2497c0 commit 37bf85e

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

src/components/TheXTerm.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ const commandStore = [
302302
padding: 4px;
303303
display: flex;
304304
flex: 1 1 auto;
305-
min-height: clamp(420px, calc(100dvh - 260px), 960px);
305+
height: clamp(420px, calc(100dvh - 260px), 960px);
306+
width: 100%;
306307
box-sizing: border-box;
307308
overflow: hidden;
308309
box-shadow:
@@ -334,6 +335,7 @@ const commandStore = [
334335
text-align: left;
335336
width: 100%;
336337
height: 100%;
338+
min-height: 100%;
337339
}
338340
339341
:deep(.t-container) {
@@ -362,7 +364,7 @@ const commandStore = [
362364
363365
@media (max-width: 767px) {
364366
.cli-container {
365-
min-height: clamp(360px, calc(100dvh - 210px), 720px);
367+
height: clamp(360px, calc(100dvh - 210px), 720px);
366368
padding: 3px;
367369
}
368370

src/components/Win95TabContainer.vue

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,7 @@ onMounted(() => {
188188
189189
.cli-only-container {
190190
max-width: 1400px;
191-
margin: 12px auto 24px;
192-
min-height: calc(100vh - 110px);
193-
display: flex;
194-
align-items: flex-end;
195-
}
196-
197-
.cli-only-container > * {
198-
width: 100%;
191+
margin: 2px auto 24px;
199192
}
200193
201194
@media (max-width: 767px) {
@@ -214,8 +207,7 @@ onMounted(() => {
214207
}
215208
216209
.cli-only-container {
217-
margin: 8px auto 16px;
218-
min-height: calc(100dvh - 64px);
210+
margin: 4px auto 16px;
219211
}
220212
}
221213
</style>

0 commit comments

Comments
 (0)