@@ -170,22 +170,22 @@ export function SessionList({ sessions, selectedSessionId, onSelectSession, onSe
170170 ) }
171171
172172 { /* Peer IP:Port and Message Count */ }
173- < div className = "flex items-center justify-between mb-1" >
174- < span className = "font-mono text-xs opacity-90" >
173+ < div className = "flex items-center justify-between gap-2 mb-1" >
174+ < span className = "font-mono text-xs opacity-90 truncate min-w-0" title = { session . peer } >
175175 { session . peer }
176176 </ span >
177- < Badge variant = "secondary" > { session . message_count } </ Badge >
177+ < Badge variant = "secondary" className = "shrink-0" > { session . message_count } </ Badge >
178178 </ div >
179179
180180 { /* Pool Connection Status */ }
181181 { session . pool_host && (
182182 < div className = "mt-2 pt-2 border-t" >
183183 < div className = "text-xs font-medium mb-1" > Target Pool:</ div >
184- < div className = "flex items-center justify-between" >
185- < span className = "font-mono text-xs opacity-90" >
184+ < div className = "flex items-center justify-between gap-2 " >
185+ < span className = "font-mono text-xs opacity-90 truncate min-w-0" title = { ` ${ session . pool_host } : ${ session . pool_port } ` } >
186186 { session . pool_host } :{ session . pool_port }
187187 </ span >
188- < div className = "flex items-center gap-2" >
188+ < div className = "flex items-center gap-2 shrink-0 " >
189189 < Badge
190190 variant = { session . pool_connected ? "default" : "destructive" }
191191 className = { session . pool_connected ? "bg-green-600" : "bg-red-600" }
@@ -207,7 +207,7 @@ export function SessionList({ sessions, selectedSessionId, onSelectSession, onSe
207207 </ div >
208208 </ div >
209209 { session . pool_peer && session . pool_connected && (
210- < div className = "text-xs opacity-75 mt-1" >
210+ < div className = "text-xs opacity-75 mt-1 truncate" title = { `→ ${ session . pool_peer } ` } >
211211 → { session . pool_peer }
212212 </ div >
213213 ) }
0 commit comments