Skip to content

Commit 08ab710

Browse files
committed
refactor(meridian): divinemc config viewer
1 parent 5da23f2 commit 08ab710

3 files changed

Lines changed: 386 additions & 205 deletions

File tree

apps/meridian/app/components/content/ConfigViewer.vue

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ function fmtVal(v: unknown): string {
268268
background: var(--bg-0);
269269
border-radius: 0 0 12px 12px;
270270
padding: 8px 0 12px;
271-
overflow-x: auto;
271+
overflow-x: hidden;
272272
}
273273
274274
.cv-tree {
@@ -287,6 +287,8 @@ function fmtVal(v: unknown): string {
287287
padding-right: 12px;
288288
border-radius: 4px;
289289
transition: background .12s;
290+
flex-wrap: wrap;
291+
min-width: 0;
290292
}
291293
.cv-row:hover { background: rgba(255,255,255,.03); }
292294
@@ -307,7 +309,13 @@ function fmtVal(v: unknown): string {
307309
308310
/* Leaf */
309311
.cv-key { color: var(--dim); white-space: nowrap; }
310-
.cv-val { white-space: nowrap; }
312+
.cv-val {
313+
white-space: normal;
314+
word-break: break-word;
315+
overflow-wrap: anywhere;
316+
min-width: 0;
317+
flex: 1 1 auto;
318+
}
311319
312320
.tk-true { color: var(--brand-2); }
313321
.tk-false { color: var(--err); }

apps/meridian/app/components/content/DivineMCConfig.vue

Lines changed: 0 additions & 203 deletions
This file was deleted.

0 commit comments

Comments
 (0)