Skip to content

Commit 5f6d8c9

Browse files
committed
chore: Prevent preview pane expanding entire screen
1 parent 3b7dbdf commit 5f6d8c9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/components/ComposeWizard/styles.module.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@
305305
position: sticky;
306306
top: calc(var(--ifm-navbar-height) + 1rem);
307307
align-self: start;
308+
min-width: 0;
309+
max-width: 100%;
308310
}
309311

310312
.livePreview {
@@ -316,6 +318,7 @@
316318
flex-direction: column;
317319
max-height: calc(100vh - var(--ifm-navbar-height) - 120px);
318320
min-height: 400px;
321+
min-width: 0;
319322
}
320323

321324
.previewHeader {
@@ -399,6 +402,8 @@
399402
line-height: 1.5;
400403
min-height: 100%;
401404
white-space: pre;
405+
word-break: keep-all;
406+
overflow-wrap: normal;
402407
font-family: 'Fira Code', 'Consolas', 'Monaco', monospace;
403408
}
404409

src/data/composeWizardConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ export const WIZARD_SECTIONS = [
259259
label: 'Redis Port',
260260
description: 'Redis server port',
261261
type: FIELD_TYPES.NUMBER,
262-
default: '6379',
262+
default: '63790',
263263
deploymentTypes: ['modular', 'vpn', 'external-nginx', 'external-caddy'],
264264
},
265265
{

0 commit comments

Comments
 (0)