Fix org chart canvas overflowing viewport by using h-full instead of calc
The previous h-[calc(100dvh-6rem)] underestimated the vertical overhead (breadcrumb, padding, worktree banner, button bar). Using h-full lets the flex layout propagate the correct available height from <main>. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
cd01ebb417
commit
ef60ea0446
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ export function OrgChart() {
|
|||
}
|
||||
|
||||
return (
|
||||
<div className="flex flex-col h-[calc(100dvh-6rem)]">
|
||||
<div className="flex flex-col h-full">
|
||||
<div className="mb-2 flex items-center justify-start gap-2 shrink-0">
|
||||
<Link to="/company/import">
|
||||
<Button variant="outline" size="sm">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue