1
0
Fork 0

Fix styling on mobile

This commit is contained in:
Pabloader 2026-04-09 13:34:48 +00:00
parent 74fbb5bee2
commit 5b067b8a2c
3 changed files with 15 additions and 1 deletions

View File

@ -37,6 +37,7 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
gap: 8px; gap: 8px;
min-width: 0;
} }
.messageActions { .messageActions {
@ -135,6 +136,15 @@
flex-direction: row; flex-direction: row;
gap: 4px; gap: 4px;
align-items: center; align-items: center;
min-width: 0;
overflow: hidden;
}
.role > span:first-child {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
flex-shrink: 1;
} }
.reasoningContent { .reasoningContent {

View File

@ -175,4 +175,8 @@
.editor { .editor {
padding-top: 12px; padding-top: 12px;
} }
.title {
display: none;
}
} }

View File

@ -49,7 +49,7 @@ const RoleHeader = ({ message, chatMessages }: RoleHeaderProps) => {
return ( return (
<div class={styles.role}> <div class={styles.role}>
{displayName} <span>{displayName}</span>
{roleLabel && ( {roleLabel && (
<span class={styles.toolBadge}> <span class={styles.toolBadge}>
{message.role} {message.role}