Skip to content

Commit

Permalink
🎨 style: 调整样式,适配小屏幕
Browse files Browse the repository at this point in the history
  • Loading branch information
frostime committed Sep 24, 2024
1 parent 72e6cd7 commit ba0651d
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -788,10 +788,23 @@ export function ChatActions(props: {
alignItems: "top",
flex: 1,
fontSize: "0.7rem",
justifyContent: "flex-end",
overflow: "hidden",
whiteSpace: "nowrap",
}}
>
<div style={{ flex: 1 }}></div>
<span style={{ opacity: 0.8 }}>{currentModelName}</span>
<span
style={{
opacity: 0.8,
overflow: "hidden",
textOverflow: "ellipsis",
whiteSpace: "nowrap",
minWidth: 0,
maxWidth: "175px",
}}
>
{currentModelName}
</span>
</div>
</div>
);
Expand Down

0 comments on commit ba0651d

Please sign in to comment.