Skip to content

Commit fc37882

Browse files
Fixed bottom margin for code blocks in chat (#555)
1 parent 864bda1 commit fc37882

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

app/MindWork AI Studio/wwwroot/app.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@
111111
padding-bottom: 12px;
112112
}
113113

114+
/* Fixed the margin for the Markdown code blocks */
115+
.mud-card-content .mud-markdown-body .hljs.mud-markdown-code-highlight {
116+
margin-bottom:2em;
117+
}
118+
114119
.code-block {
115120
background-color: #2d2d2d;
116121
color: #f8f8f2;

app/MindWork AI Studio/wwwroot/changelog/v0.9.51.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@
2121
- Fixed a bug in the web content reader where a preconfigured LLM provider was not recognized, resulting in an error message.
2222
- Fixed another bug in the web content reader: the system incorrectly evaluated whether the content cleaning agent was preselected. Users had to first deactivate the agent and then reactivate it to make it work correctly.
2323
- Fixed a bug in the assistants for text summarization, translations, and legal check: the web content reader preferences were not being applied when resetting the assistant.
24+
- Fixed the bottom margin of code blocks in chat. The bottom margins were too small. This was particularly problematic when horizontal scrollbars were necessary.
2425
- Upgraded dependencies.

0 commit comments

Comments
 (0)