Fleet UI: Host status dropdown styling fixes (#22314)
This commit is contained in:
@@ -1430,16 +1430,11 @@ const ManageHostsPage = ({
|
||||
? selectedLabel
|
||||
: undefined;
|
||||
|
||||
const statusDropdownClassnames = classNames(
|
||||
`${baseClass}__status_dropdown`,
|
||||
{ [`${baseClass}__status-dropdown-sandbox`]: isSandboxMode }
|
||||
);
|
||||
|
||||
return (
|
||||
<div className={`${baseClass}__filter-dropdowns`}>
|
||||
<Dropdown
|
||||
value={status || ""}
|
||||
className={statusDropdownClassnames}
|
||||
className={`${baseClass}__status_dropdown`}
|
||||
options={getHostSelectStatuses(isSandboxMode)}
|
||||
searchable={false}
|
||||
onChange={handleStatusDropdownChange}
|
||||
|
||||
@@ -121,13 +121,6 @@
|
||||
line-height: 38px;
|
||||
}
|
||||
}
|
||||
|
||||
.manage-hosts__status-dropdown-sandbox {
|
||||
width: auto;
|
||||
.Select-control {
|
||||
width: 182px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -183,12 +176,6 @@
|
||||
.manage-hosts__status_dropdown {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.manage-hosts__status-dropdown-sandbox {
|
||||
.Select-control {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -246,7 +233,7 @@
|
||||
|
||||
.Select-menu-outer {
|
||||
width: 364px;
|
||||
max-height: 325px;
|
||||
max-height: min-content;
|
||||
|
||||
.Select-menu {
|
||||
max-height: none;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
.Select {
|
||||
.Select-menu-outer {
|
||||
width: 364px;
|
||||
max-height: 310px;
|
||||
max-height: min-content;
|
||||
|
||||
.Select-menu {
|
||||
max-height: none;
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
&__platform-dropdown {
|
||||
.Select-menu-outer {
|
||||
width: 364px;
|
||||
max-height: 380px;
|
||||
max-height: min-content;
|
||||
|
||||
.Select-menu {
|
||||
max-height: none;
|
||||
|
||||
Reference in New Issue
Block a user