Revert "fix: align entry header with sidebar"

This reverts commit 5361500112.
This commit is contained in:
Stephen Zhou 2025-09-08 17:25:11 +08:00
parent 5361500112
commit 2429dde83f
No known key found for this signature in database
2 changed files with 2 additions and 4 deletions

View File

@ -11,9 +11,7 @@ function EntryHeaderImpl({ entryId, className, compact }: EntryHeaderProps) {
return (
<EntryHeaderRoot entryId={entryId} className={className} compact={compact}>
<div
// Fixed height(3.25rem)(52px) to align with the sidebar padding(pt-2.5)(10px)
// (52 - 32) / 2 = 10
className="bg-background relative z-10 flex h-[3.25rem] w-full items-center justify-between gap-3 px-4"
className="bg-background relative z-10 flex h-12 w-full items-center justify-between gap-3 px-4"
data-at-top={isAtTop}
data-hide-in-print
>

View File

@ -233,7 +233,7 @@ export function EntryHeaderBreadcrumb() {
<nav
aria-label="Breadcrumb"
className={
"text-text-secondary group/breadcrumb flex min-w-0 items-center gap-1 truncate leading-tight"
"text-text-secondary group/breadcrumb -mb-1 flex min-w-0 items-center gap-1 truncate leading-tight"
}
>
<div className="flex min-w-0 items-center gap-1">