fix: icône versioning déplacée top-3 end-3 + visibilité renforcée
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:
@@ -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>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user