Revert "fix code block width - use 90% for desktop (relative to modal), 85vw for mobile"

This reverts commit 7406950040.
This commit is contained in:
Russell Ballestrini 2025-10-11 09:18:58 -04:00
parent 7406950040
commit 202e877b34
2 changed files with 4 additions and 6 deletions

View file

@ -1120,14 +1120,13 @@ dialog#uncloseai-embedded-modal[data-theme="dark"] .uncloseai-chat-box {
}
/* Code blocks within AI messages - allow horizontal scroll, preserve all whitespace */
/* Desktop: use percentage relative to modal */
.ai-message pre {
overflow-x: auto;
max-width: 90%;
max-width: 72vw;
}
.ai-message code {
max-width: 90%;
max-width: 72vw;
}
/* Mobile: use viewport units since modal is fullscreen */

View file

@ -1193,14 +1193,13 @@ dialog#uncloseai-embedded-modal[data-theme="dark"] .uncloseai-chat-box {
}
/* Code blocks within AI messages - allow horizontal scroll, preserve all whitespace */
/* Desktop: use percentage relative to modal */
.ai-message pre {
overflow-x: auto;
max-width: 90%;
max-width: 72vw;
}
.ai-message code {
max-width: 90%;
max-width: 72vw;
}
/* Mobile: use viewport units since modal is fullscreen */