mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
chore(website): maintain platform coloring despite reordering
This commit is contained in:
parent
ce0763f03d
commit
9e5bded4cf
@ -94,9 +94,9 @@
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
&:first-of-type { --accent-color: var(--brand-1); }
|
||||
&:nth-of-type(2) { --accent-color: var(--brand-2); }
|
||||
&:last-of-type { --accent-color: var(--brand-3); }
|
||||
&.windows { --accent-color: var(--brand-1); }
|
||||
&.linux { --accent-color: var(--brand-2); }
|
||||
&.macos { --accent-color: var(--brand-3); }
|
||||
}
|
||||
|
||||
.download-footer {
|
||||
|
@ -90,7 +90,7 @@ export function DownloadCard({ app, arch, entry: [ platform, entry ], isRecommen
|
||||
)}
|
||||
</>
|
||||
}
|
||||
className={`download-card ${isRecommended ? "recommended" : ""}`}
|
||||
className={`download-card ${platform} ${isRecommended ? "recommended" : ""}`}
|
||||
>
|
||||
{unwrapText(entry.description)}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user