Avoid overlapping session title ellipsis
This commit is contained in:
@@ -521,7 +521,7 @@ const ClawSessionList: FC = () => {
|
||||
<button
|
||||
type="button"
|
||||
className={`aui-thread-list-item-trigger flex h-full min-w-0 flex-1 items-center overflow-hidden pl-3 text-start text-sm ${
|
||||
actionPinned ? "pr-7" : "pr-2"
|
||||
actionPinned ? "pr-7" : "pr-2 group-hover:pr-7"
|
||||
}`}
|
||||
onClick={async () => {
|
||||
console.log("[session-list] click", {
|
||||
@@ -532,7 +532,7 @@ const ClawSessionList: FC = () => {
|
||||
await openSession(session.session_id);
|
||||
}}
|
||||
>
|
||||
<span className="min-w-0 truncate">
|
||||
<span className="min-w-0 overflow-hidden whitespace-nowrap">
|
||||
{loading
|
||||
? "回放中..."
|
||||
: session.preview || session.session_id}
|
||||
|
||||
Reference in New Issue
Block a user