Skip to content

Commit

Permalink
fix: entry column title line height
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Sep 30, 2024
1 parent 5309491 commit b615c17
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ export const EntryListHeader: FC<{

const titleInfo = !!headerTitle && (
<div className={!titleAtBottom ? "min-w-0 translate-y-1" : void 0}>
<div className="min-w-0 break-all text-lg font-bold leading-[1.15]">
<div className="min-w-0 break-all text-lg font-bold leading-none">
<EllipsisHorizontalTextWithTooltip className="inline-block !w-auto max-w-full">
{headerTitle}
<span className="relative -top-px">{headerTitle}</span>
</EllipsisHorizontalTextWithTooltip>
</div>
<div className="text-xs font-medium text-zinc-400">
<div className="text-xs font-medium leading-none text-zinc-400">
{totalCount || 0} {t("quantifier.piece", { ns: "common" })}
{unreadOnly && !isInCollectionList ? t("words.unread") : ""}
{t("space", { ns: "common" })}
Expand Down

1 comment on commit b615c17

@jerryc127
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你這樣改,中英文都顯示不全了 @Innei

正常
Image

現在
Image

Please sign in to comment.