Fleet UI: Update label target copies (#43763)

This commit is contained in:
RachelElysia 2026-04-20 10:09:01 -05:00 committed by GitHub
parent c3cbea5445
commit 101858e40e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 28 additions and 3 deletions

View file

@ -6,6 +6,16 @@
display: flex;
flex-direction: column;
gap: $pad-medium;
// Hardcoded to fit all 3 custom target options (Exclude any, Include all,
// Include any) without scrolling
.Select-menu-outer {
max-height: 260px;
}
.Select-menu {
max-height: 244px;
}
}
&__checkboxes {

View file

@ -188,19 +188,34 @@ export const CUSTOM_TARGET_OPTIONS: IDropdownOption[] = [
{
value: "labelsIncludeAny",
label: "Include any",
helpText: "Hosts that have any of the selected labels.",
helpText: (
<>
Software will only be available for install on hosts that{" "}
<strong>have any</strong> of these labels.
</>
),
disabled: false,
},
{
value: "labelsIncludeAll",
label: "Include all",
helpText: "Hosts that have all of the selected labels.",
helpText: (
<>
Software will only be available for install on hosts that{" "}
<strong>have all</strong> of these labels.
</>
),
disabled: false,
},
{
value: "labelsExcludeAny",
label: "Exclude any",
helpText: "Hosts that don't have any of the selected labels.",
helpText: (
<>
Software will only be available for install on hosts that{" "}
<strong>don&apos;t have any</strong> of these labels.
</>
),
disabled: false,
},
];