Fix code block buttons visibility by allowing vertical overflow on pre elements
This commit is contained in:
parent
4ff5740559
commit
063b2bf960
2 changed files with 2 additions and 0 deletions
|
|
@ -1120,6 +1120,7 @@ dialog#uncloseai-embedded-modal[data-theme="dark"] .uncloseai-chat-box {
|
||||||
/* Code blocks within AI messages - allow horizontal scroll, preserve all whitespace */
|
/* Code blocks within AI messages - allow horizontal scroll, preserve all whitespace */
|
||||||
.ai-message pre {
|
.ai-message pre {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
overflow-y: visible;
|
||||||
max-width: min(72vw, 900px);
|
max-width: min(72vw, 900px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1193,6 +1193,7 @@ dialog#uncloseai-embedded-modal[data-theme="dark"] .uncloseai-chat-box {
|
||||||
/* Code blocks within AI messages - allow horizontal scroll, preserve all whitespace */
|
/* Code blocks within AI messages - allow horizontal scroll, preserve all whitespace */
|
||||||
.ai-message pre {
|
.ai-message pre {
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
overflow-y: visible;
|
||||||
max-width: min(72vw, 900px);
|
max-width: min(72vw, 900px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue