mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-05-08 06:14:41 +02:00
fix: Improve chat avatar styling and layout
- Reduce horizontal padding in messages container - Add colored circle background to emoji avatars - Fix vertical alignment of avatar with sender name Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -30,6 +30,8 @@ main {
|
||||
/* Messages Container */
|
||||
.messages-container {
|
||||
background-color: #ffffff;
|
||||
padding-left: 0.5rem !important;
|
||||
padding-right: 0.5rem !important;
|
||||
}
|
||||
|
||||
#messagesList {
|
||||
@@ -45,6 +47,7 @@ main {
|
||||
/* Message wrapper - contains avatar + message container */
|
||||
.message-wrapper {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 0.5rem;
|
||||
max-width: 85%;
|
||||
animation: fadeIn 0.3s ease-in;
|
||||
@@ -72,11 +75,11 @@ main {
|
||||
font-weight: 600;
|
||||
color: white;
|
||||
text-transform: uppercase;
|
||||
margin-top: 0.1rem;
|
||||
}
|
||||
|
||||
.message-avatar.emoji {
|
||||
font-size: 1.25rem;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
/* Message container - holds sender row + bubble + actions */
|
||||
|
||||
Reference in New Issue
Block a user