mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 07:58:22 +00:00
fix(webchat): improve image paste UI layout and display
- Fix preview container width (use inline-flex + fit-content) - Fix flex layout conflict in components.css (grid -> flex column) - Change preview thumbnail to object-fit: contain (no cropping) - Add image rendering in sent message bubbles - Add CSS for chat-message-images display Improves upon #1900
This commit is contained in:
@@ -1303,9 +1303,8 @@
|
||||
/* Chat compose */
|
||||
.chat-compose {
|
||||
margin-top: 12px;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: end;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user