MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,378:
/* 1. Force all text inside assistant messages to wrap and use site font */
.ext-aiassistant-message-assistant {
/* Fix the font: Inherit from body
font-family: sans-serif !important;
/* Fix the wrapping:
word-wrap: break-word !important;
overflow-wrap: break-word !important;
/* CHANGED: 'normal' collapses raw newlines so you only see the HTML margins */
▲ white-space: pre-wrap !important;
/* Ensure the container doesn't push past the screen width */
max-width: 100% !important;
}
/* 2.
/* This ensures the list sits tighter to the paragraph above it */
.ext-aiassistant-message-assistant > div {▼
.ext-aiassistant-message-assistant ul,
word-wrap: break-word !important;▼
}
Line 1,407 ⟶ 1,404:
.ext-aiassistant-message-assistant li {
word-wrap: break-word !important;
white-space: normal !important;
}
| |||