fix: icône versioning déplacée top-3 end-3 + visibilité renforcée
Some checks failed
CI / Deploy production (on server) (push) Has been cancelled
CI / Lint, Unit Tests & Build (push) Has been cancelled

L'icône était à bottom-3 end-3, masquée par la barre d'actions (bottom-0 full-width).
Déplacée en top-3 end-3 avec badge vert (bg-emerald-500/10 + text-emerald-600)
pour être visible d'un coup d'œil.
This commit is contained in:
Antigravity
2026-06-28 09:58:08 +00:00
parent 334fce5fc1
commit a1b39959de

View File

@@ -597,10 +597,10 @@ export const NoteCard = memo(function NoteCard({
{/* Versioning indicator */} {/* Versioning indicator */}
{optimisticNote.historyEnabled && ( {optimisticNote.historyEnabled && (
<div <div
className="absolute bottom-3 end-3 z-10" className="absolute top-3 end-3 z-10 flex items-center gap-0.5 rounded-full bg-emerald-500/10 dark:bg-emerald-500/20 px-1.5 py-0.5"
title={t('notes.historyEnabledTooltip') || 'Version history enabled'} title={t('notes.historyEnabledTooltip') || 'Version history enabled'}
> >
<History className="h-3.5 w-3.5 text-muted-foreground/50" /> <History className="h-3 w-3 text-emerald-600 dark:text-emerald-400" />
</div> </div>
)} )}