mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 15:46:39 +08:00
🎨 style: 调整样式,适配小屏幕
This commit is contained in:
parent
72e6cd7f03
commit
ba0651d8d2
@ -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>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user