fix: peek modal header background color and copywrite

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei 2024-08-16 20:40:03 +08:00
parent f439709a43
commit b8be81b210
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
2 changed files with 5 additions and 3 deletions

View File

@ -70,8 +70,10 @@ export const DailyReportTitle = ({
<div className="flex items-center justify-center gap-2 text-base">
<i className="i-mgc-magic-2-cute-re" />
<div className="font-medium">
Top News -
{" "}
{title}
's Top News
</div>
<Tooltip>
<TooltipTrigger asChild>
@ -407,6 +409,6 @@ const EntryToastPreview = ({ entryId }: { entryId: string }) => {
const EntryModalPreview = ({ entryId }: { entryId: string }) => (
<Paper className="!p-0">
<EntryContentRender className="h-auto" entryId={entryId} />
<EntryContentRender className="h-auto [&_#entry-action-header-bar]:!bg-transparent" entryId={entryId} />
</Paper>
)

View File

@ -48,7 +48,7 @@ export function EntryHeader({
>
<EntryReadHistory entryId={entryId} />
</div>
<div className="relative z-10 flex w-full items-center justify-between gap-3 bg-background">
<div className="relative z-10 flex w-full items-center justify-between gap-3">
<div className="flex min-w-0 shrink grow">
<AnimatePresence>
{shouldShowMeta && (