diff --git a/apps/desktop/src/renderer/src/modules/entry-content/components/EntryReadHistory.electron.tsx b/apps/desktop/src/renderer/src/modules/entry-content/components/EntryReadHistory.electron.tsx index 8c9be2159..bffb08e2f 100644 --- a/apps/desktop/src/renderer/src/modules/entry-content/components/EntryReadHistory.electron.tsx +++ b/apps/desktop/src/renderer/src/modules/entry-content/components/EntryReadHistory.electron.tsx @@ -54,7 +54,7 @@ export const EntryReadHistory: Component<{ entryId: string }> = ({ entryId }) => marginLeft: `-${LIMIT * 8}px`, zIndex: LIMIT + 1, }} - className="no-drag-region border-border bg-material-medium ring-background relative flex size-7 items-center justify-center rounded-full border ring-2" + className="no-drag-region border-border bg-material-opaque ring-background relative flex size-7 items-center justify-center rounded-full border ring-2" > +{Math.min(totalCount - LIMIT, 99)} @@ -69,7 +69,7 @@ export const EntryReadHistory: Component<{ entryId: string }> = ({ entryId }) => align="start" side="right" className={clsx( - "bg-background z-10 rounded-md border drop-shadow", + "shadow-menu bg-material-medium shadow-context-menu backdrop-blur-background rounded-md border", "data-[state=open]:animate-in data-[state=closed]:animate-out", "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", "data-[state=closed]:slide-out-to-left-5 data-[state=open]:slide-in-from-left-5", diff --git a/apps/desktop/src/renderer/src/modules/entry-content/components/EntryReadHistory.shared.tsx b/apps/desktop/src/renderer/src/modules/entry-content/components/EntryReadHistory.shared.tsx index e446831b3..8b226fe3f 100644 --- a/apps/desktop/src/renderer/src/modules/entry-content/components/EntryReadHistory.shared.tsx +++ b/apps/desktop/src/renderer/src/modules/entry-content/components/EntryReadHistory.shared.tsx @@ -48,7 +48,7 @@ export const EntryUserRow: Component<{ userId: string }> = memo(({ userId }) => }} role="button" tabIndex={0} - className="cursor-button hover:bg-material-medium relative flex min-w-0 max-w-[50ch] shrink-0 items-center gap-2 truncate rounded-md p-1 px-2" + className="cursor-button hover:bg-theme-selection-hover hover:text-theme-selection-foreground relative flex min-w-0 max-w-[50ch] shrink-0 items-center gap-2 truncate rounded-md p-1 px-2" >