mirror of
https://github.com/Luchexx/wacrm.git
synced 2026-11-02 09:19:51 +00:00
Merge pull request #260 from ArnasDon/fix/inbox-chat-sidebar-overlap
fix(inbox): chat thread overlapping contact sidebar on fullscreen desktop (#257)
This commit is contained in:
commit
9eaa15b9df
@ -721,7 +721,15 @@ export function MessageThread({
|
|||||||
: "Assign";
|
: "Assign";
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={cn("flex flex-1 flex-col", DOODLE_BG_CLASSES)}>
|
// `min-w-0` is load-bearing: the page already puts min-w-0 on the
|
||||||
|
// thread's flex *wrapper* (issue #165), but this root keeps the
|
||||||
|
// default `min-width: auto`, so a single wide message (long unbroken
|
||||||
|
// URL/word) expands the whole thread past its flex share and the chat
|
||||||
|
// paints on top of the contact sidebar at lg+ — outgoing bubbles get
|
||||||
|
// clipped and the hover toolbar overlaps the Tags panel. Letting the
|
||||||
|
// root shrink lets the bubbles' break-words / max-w caps apply.
|
||||||
|
// Issue #257.
|
||||||
|
<div className={cn("flex min-w-0 flex-1 flex-col", DOODLE_BG_CLASSES)}>
|
||||||
{/* Header — solid card surface sits on top of the doodle so the
|
{/* Header — solid card surface sits on top of the doodle so the
|
||||||
name/avatar/dropdowns stay legible. */}
|
name/avatar/dropdowns stay legible. */}
|
||||||
<div className="flex items-center justify-between gap-2 border-b border-border bg-card px-3 py-3 sm:px-4">
|
<div className="flex items-center justify-between gap-2 border-b border-border bg-card px-3 py-3 sm:px-4">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user