Cookie scanner: fixes from the browser test in the dev app

- The admin box uses Payload's Button (plain <button class="btn"> rendered
  unstyled), shows "Never run" before the first crawl and the note on a
  finished crawl (e.g. "Accept all" not found).
- The dashboard warning puts its link on its own line.
- Dev sandbox: cookieScanner { crawl: true } and the regenerated import map.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-27 15:21:17 +01:00
co-authored by Claude Opus 5.5
parent 4bb9c663fd
commit 433984e1e1
4 changed files with 19 additions and 16 deletions
@@ -58,7 +58,7 @@ export async function CookieCrawlAlert({ adminRoute = '/admin', i18n, labels = C
<p style={{ margin: '0.5rem 0 0' }}>{t('alertBody')}</p>
</>
)}
<a href={href} style={{ display: 'inline-block', marginTop: '0.5rem' }}>
<a href={href} style={{ display: 'block', marginTop: '0.5rem' }}>
{t('alertLink')}
</a>
</div>