fleet/frontend/components/EnrollSecrets
Scott Gress fc46b589b3 Fix enroll secrets UI (#40004)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or
remove if NA -->
**Related issue:** Resolves #39260

# Details

Fixes the banner displayed when a team has no enroll secrets to match
similar, non-dismissible warning banners, and corrects the padding
between text and button in the "Add enroll secret" modal empty state.

<img width="773" height="221" alt="image"
src="https://github.com/user-attachments/assets/490f49f1-ccaa-47c7-8ba3-a7de2896d932"
/>

---

<img width="662" height="380" alt="image"
src="https://github.com/user-attachments/assets/0f73b9b8-d625-4f40-ac8d-edb71e9f2a22"
/>


# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

## Testing

- [ ] Added/updated automated tests
n/a, styling only
- [X] QA'd all new/changed functionality manually
See screenshots above
2026-02-27 12:34:29 -06:00
..
DeleteSecretModal Misc. FE code cleanup (#31257) 2025-07-25 16:12:23 -07:00
EnrollSecretModal Fix enroll secrets UI (#40004) 2026-02-27 12:34:29 -06:00
EnrollSecretTable Fleet UI: Update Button to match latest style guide (#38221) 2026-01-14 10:54:09 -05:00
SecretEditorModal FE: Button renaming, better storybook view, remove unused code (#28245) 2025-04-16 09:56:09 -04:00