@nqminds/mcp-client 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/styles/MCPChat.css +13 -5
- package/package.json +1 -1
package/dist/styles/MCPChat.css
CHANGED
|
@@ -442,6 +442,11 @@
|
|
|
442
442
|
line-height: 1.6;
|
|
443
443
|
}
|
|
444
444
|
|
|
445
|
+
/* Reset white-space for markdown so ReactMarkdown HTML isn't double-spaced */
|
|
446
|
+
.mcp-chat-message-content.markdown-content {
|
|
447
|
+
white-space: normal;
|
|
448
|
+
}
|
|
449
|
+
|
|
445
450
|
.mcp-chat-message-timestamp {
|
|
446
451
|
font-size: 12px;
|
|
447
452
|
opacity: 0.6;
|
|
@@ -470,7 +475,7 @@
|
|
|
470
475
|
}
|
|
471
476
|
|
|
472
477
|
/* Paragraphs */
|
|
473
|
-
.markdown-content p { margin: 0 0
|
|
478
|
+
.markdown-content p { margin: 0 0 6px 0; }
|
|
474
479
|
.markdown-content p:last-child { margin-bottom: 0; }
|
|
475
480
|
|
|
476
481
|
/* Headings */
|
|
@@ -482,7 +487,7 @@
|
|
|
482
487
|
.markdown-content h6 {
|
|
483
488
|
font-weight: 700;
|
|
484
489
|
line-height: 1.3;
|
|
485
|
-
margin:
|
|
490
|
+
margin: 10px 0 2px 0;
|
|
486
491
|
color: var(--mcp-text);
|
|
487
492
|
}
|
|
488
493
|
.markdown-content h1 { font-size: 1.4em; }
|
|
@@ -506,9 +511,12 @@
|
|
|
506
511
|
|
|
507
512
|
/* Lists */
|
|
508
513
|
.markdown-content ul,
|
|
509
|
-
.markdown-content ol { margin: 0 0
|
|
510
|
-
.markdown-content li { margin:
|
|
511
|
-
|
|
514
|
+
.markdown-content ol { margin: 0 0 6px 0; padding-left: 22px; }
|
|
515
|
+
.markdown-content li { margin: 1px 0; }
|
|
516
|
+
/* Loose lists: ReactMarkdown wraps li content in <p> tags when blank lines separate items.
|
|
517
|
+
Zero out all margins on these to prevent double-spacing. */
|
|
518
|
+
.markdown-content li > p { margin: 0 !important; }
|
|
519
|
+
.markdown-content li > p + p { margin-top: 2px !important; }
|
|
512
520
|
/* Task lists (GFM) */
|
|
513
521
|
.markdown-content input[type="checkbox"] {
|
|
514
522
|
margin-right: 6px;
|