fix: prevent source dialog action overlap (#1195)
Some checks are pending
Development Build / extract-version (push) Waiting to run
Development Build / changes (push) Waiting to run
Development Build / build-regular (push) Blocked by required conditions
Development Build / build-single (push) Blocked by required conditions
Development Build / summary (push) Blocked by required conditions
Tests / Backend Typecheck (push) Waiting to run
Tests / Frontend Tests (push) Waiting to run
Tests / Frontend Lint (push) Waiting to run
Tests / Frontend Build (push) Waiting to run
Tests / Backend Lint (push) Waiting to run
Tests / Backend Tests (push) Waiting to run

* fix: prevent source dialog action overlap

* fix(sources): pad only the right of the detail header to clear close button

px-12 cleared the overlap but also indented the header's left edge 40px
past the tab content below (which stays px-2), misaligning the title. Keep
px-2 and add pr-12 so the header left-aligns with the body while the actions
menu still clears the dialog close button on the right.

---------

Co-authored-by: Luis Novo <lfnovo@gmail.com>
This commit is contained in:
Yu Feng 2026-07-21 14:28:16 +02:00 • committed by GitHub
parent fa352c151e
commit 1b46de7b76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -412,7 +412,7 @@ function SourceDetailContentInner({
return (
<div className="flex flex-col h-full">
{/* Header */}
<div className="pb-4 px-2">
<div className="pb-4 px-2 pr-12">
<div className="flex items-start justify-between">
<div className="flex-1">
<InlineEdit