Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(header): improve border visibility for meta display #2138

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: entry-header move 1px while scroll
  • Loading branch information
ktKongTong committed Dec 13, 2024
commit e6d53b1c072bfc817d142de7fbd9a03eee3d9736
4 changes: 2 additions & 2 deletions apps/renderer/src/modules/entry-content/header.desktop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ function EntryHeaderImpl({ view, entryId, className, compact }: EntryHeaderProps
<div
data-hide-in-print
className={cn(
"relative flex min-w-0 items-center justify-between gap-3 overflow-hidden text-lg text-zinc-500 duration-200 zen-mode-macos:ml-margin-macos-traffic-light-x",
shouldShowMeta && "border-b border-border",
"relative flex min-w-0 items-center justify-between gap-3 overflow-hidden border-b border-transparent text-lg text-zinc-500 duration-200 zen-mode-macos:ml-margin-macos-traffic-light-x",
shouldShowMeta && "border-border",
className,
)}
>
Expand Down
Loading