fix: renewal reminder styling and position (#361)

Fixes the styling of the renewal reminder for nodes that have been
dismissed.
This commit is contained in:
sagit
2026-03-21 10:04:02 +08:00
committed by GitHub
+1 -1
View File
@@ -1947,7 +1947,7 @@ export default function NodePage() {
{(listeners) => (
<Card
key={node.id}
className={`group relative overflow-visible shadow-sm border border-divider hover:shadow-md transition-shadow duration-200 h-full flex flex-col ${expiryMeta.accentClassName}`}
className={`group relative overflow-visible shadow-sm border border-divider hover:shadow-md transition-shadow duration-200 h-full flex flex-col ${node.expiryReminderDismissed ? "" : expiryMeta.accentClassName}`}
data-node-card="true"
>
<CardHeader className="pb-3 md:pb-3">