Fix styling on mobile
This commit is contained in:
parent
74fbb5bee2
commit
5b067b8a2c
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -175,4 +175,8 @@
|
||||||
.editor {
|
.editor {
|
||||||
padding-top: 12px;
|
padding-top: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue