Keep catalog copy on a selected method card, and only offer See all when the deck is longer than the compact seven.
This commit is contained in:
1 parent
46656f52d3
commit
59f76c5b7d
6 files changed
+55
-6
No files matched your search
@@ -84,12 +84,12 @@ function StackCard({
|
||||
alternativePrefix: string;
|
||||
}) {
|
||||
const supportText =
|
||||
!expanded && item.compactSupportText
|
||||
!expanded && !selected && item.compactSupportText
|
||||
? item.compactSupportText
|
||||
: item.supportText;
|
||||
const recommended = Boolean(expanded && item.recommended);
|
||||
const alternative =
|
||||
!expanded && item.alternative && onAlternativeSelect ? (
|
||||
!expanded && !selected && item.alternative && onAlternativeSelect ? (
|
||||
<p className="w-full text-x-small-paragraph text-[var(--color-content-invert-tertiary)]">
|
||||
{alternativePrefix}{" "}
|
||||
<button
|
||||
|
||||
Reference in new issue
Block a user