Files
chat-gpz/components/Chat/MarkdownMessage.module.css
T
Zacharias-Brohn cadab7aaef changes
2026-01-14 20:54:15 +01:00

43 lines
629 B
CSS

.markdown {
word-wrap: break-word;
overflow-wrap: break-word;
}
.markdown p:last-child {
margin-bottom: 0;
}
/* Streaming cursor that blinks at the end */
.streamingCursor {
display: inline-block;
width: 0.5em;
height: 1em;
background-color: currentColor;
margin-left: 2px;
animation: blink 1s step-end infinite;
vertical-align: text-bottom;
opacity: 0.7;
}
@keyframes blink {
0%,
100% {
opacity: 0.7;
}
50% {
opacity: 0;
}
}
.preWrapper {
margin: 0.5em 0;
}
.codeBlock {
display: block;
white-space: pre-wrap;
word-break: break-word;
max-width: 100%;
overflow-x: auto;
}