Fix code block copy/run buttons not showing - remove conflicting CSS absolute positioning

This commit is contained in:
Russell Ballestrini 2025-11-10 15:37:46 -05:00
parent 0dcf1eb6e7
commit df7b47bc61
2 changed files with 14 additions and 22 deletions

View file

@ -836,25 +836,21 @@ dialog#tts-modal {
/* Code block styles */
.uncloseai-code-copy-btn {
position: absolute;
bottom: 8px;
right: 8px;
background: none;
background: rgba(0, 0, 0, 0.6);
color: white;
border: none;
border: 1px solid rgba(255, 255, 255, 0.3);
padding: 4px 8px;
border-radius: 4px;
font-size: 18px;
font-size: 14px;
cursor: pointer;
opacity: 0.8;
transition: opacity 0.2s;
z-index: 5;
opacity: 0.9;
transition: all 0.2s;
white-space: nowrap;
}
.uncloseai-code-copy-btn:hover {
opacity: 1;
background: rgba(0, 0, 0, 0.8);
}
/* Message action buttons */

View file

@ -906,25 +906,21 @@ dialog#tts-modal {
/* Code block styles */
.uncloseai-code-copy-btn {
position: absolute;
bottom: 8px;
right: 8px;
background: none;
background: rgba(0, 0, 0, 0.6);
color: white;
border: none;
border: 1px solid rgba(255, 255, 255, 0.3);
padding: 4px 8px;
border-radius: 4px;
font-size: 18px;
font-size: 14px;
cursor: pointer;
opacity: 0.8;
transition: opacity 0.2s;
z-index: 5;
opacity: 0.9;
transition: all 0.2s;
white-space: nowrap;
}
.uncloseai-code-copy-btn:hover {
opacity: 1;
background: rgba(0, 0, 0, 0.8);
}
/* Message action buttons */