Improve compact desktop usability and action guidance
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s

This commit is contained in:
Shinuwa 2026-10-05 21:47:16 +02:00
parent 0ac1a0974e
commit 0fc18cd8b9
24 changed files with 325 additions and 90 deletions

View file

@ -165,7 +165,7 @@ export function CopyChecklistItemsButton({
return (
<>
<button
className="filter-reset-button results-copy-button nds-icon-button"
className={filteredResults ? "results-copy-button nds-button" : "filter-reset-button results-copy-button nds-icon-button"}
data-size="xs"
type="button"
onClick={filteredResults ? () => setOpen(true) : copyItems}
@ -174,6 +174,7 @@ export function CopyChecklistItemsButton({
title={copied ? "Copié" : title}
>
<Icon name="copy" />
{filteredResults && <span>{content.resultsActionLabel || "Utiliser les résultats"}</span>}
</button>
{filteredResults && open && (
<ChecklistResultsModal