mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-06-06 21:55:57 -04:00
Change a class name
This commit is contained in:
parent
27affa9db7
commit
7366ff5dfa
2 changed files with 2 additions and 2 deletions
|
@ -1555,7 +1555,7 @@ strong {
|
|||
flex-direction: column;
|
||||
}
|
||||
|
||||
.attachment-image {
|
||||
.image-preview {
|
||||
border-radius: 16px;
|
||||
margin-bottom: 5px;
|
||||
object-fit: cover;
|
||||
|
|
|
@ -377,7 +377,7 @@ def format_message_attachments(history, role, index):
|
|||
file_path = attachment.get("file_path", "")
|
||||
attachments_html += (
|
||||
f'<div class="attachment-box image-attachment">'
|
||||
f'<img src="file/{file_path}" alt="{name}" class="attachment-image" />'
|
||||
f'<img src="file/{file_path}" alt="{name}" class="image-preview" />'
|
||||
f'<div class="attachment-name">{name}</div>'
|
||||
f'</div>'
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue