Revert "fix code block width - use 90% for desktop (relative to modal), 85vw for mobile"
This reverts commit 7406950040.
This commit is contained in:
parent
7406950040
commit
202e877b34
2 changed files with 4 additions and 6 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue