Skip to content

Commit

Permalink
fix: peek modal header background color and copywrite
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Aug 16, 2024
1 parent f439709 commit b8be81b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/renderer/src/modules/ai/ai-daily/daily.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
)
2 changes: 1 addition & 1 deletion src/renderer/src/modules/entry-content/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 && (
Expand Down

0 comments on commit b8be81b

Please sign in to comment.