shadok-ai 0.15.0 → 0.15.1
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/package.json +1 -1
- package/public/index.html +19 -0
package/package.json
CHANGED
package/public/index.html
CHANGED
|
@@ -987,6 +987,25 @@
|
|
|
987
987
|
font-family: var(--sans);
|
|
988
988
|
font-size: 14px;
|
|
989
989
|
}
|
|
990
|
+
/*
|
|
991
|
+
* The SAME reset, written again at a specificity that beats
|
|
992
|
+
* `.turn.claude .bubble` (three classes against this rule's two). Without it
|
|
993
|
+
* the reset above was lost in silence on the one turn that needs it most: an
|
|
994
|
+
* agent's answer kept the TUI-oriented `pre-wrap`, and since `marked` emits a
|
|
995
|
+
* newline between every block tag, each of those newlines rendered as a blank
|
|
996
|
+
* LINE — one before a list, one between every item, one between paragraphs.
|
|
997
|
+
* Measured on a live answer: 486px tall, 276px once reset, so 43% of the
|
|
998
|
+
* bubble was whitespace that is not in the text. `font-family`/`font-size`
|
|
999
|
+
* are deliberately NOT raised: the chat has always shown answers in the
|
|
1000
|
+
* monospace of its terminal, and that is a look to change on purpose rather
|
|
1001
|
+
* than as a side effect of fixing the spacing. Same lesson as invariant 28 —
|
|
1002
|
+
* a corrective rule that does not match the specificity of the rule it
|
|
1003
|
+
* corrects does nothing, and says nothing.
|
|
1004
|
+
*/
|
|
1005
|
+
.turn.claude .bubble.md {
|
|
1006
|
+
white-space: normal;
|
|
1007
|
+
word-break: break-word;
|
|
1008
|
+
}
|
|
990
1009
|
.bubble.md p { margin: 4px 0; }
|
|
991
1010
|
.bubble.md p:first-child { margin-top: 0; }
|
|
992
1011
|
.bubble.md p:last-child { margin-bottom: 0; }
|