Fleet UI: Prevent scroll modal bug (#31920)

This commit is contained in:
RachelElysia
2025-08-14 13:18:47 -04:00
committed by GitHub
parent b58a4d6d45
commit 5565677244
2 changed files with 9 additions and 2 deletions
@@ -10,7 +10,7 @@
overflow: visible;
}
.Select-menu-outer {
max-height: 240px;
max-height: 165px; // Prevent scrolling off modal
overflow-y: auto;
}
}
@@ -2,23 +2,28 @@
.policy-run-script-modal {
.form-field--dropdown {
width: 276px;
.Select-placeholder {
color: $ui-fleet-black-50;
}
.Select-menu {
max-height: none;
overflow: visible;
}
.Select-menu-outer {
max-height: 240px;
max-height: 165px; // Prevent scrolling off modal
overflow-y: auto;
}
}
.paginated-list__row {
height: 40px;
padding-top: 4px;
padding-bottom: 4px;
}
&__no-scripts {
display: flex;
height: 178px;
@@ -31,11 +36,13 @@
div {
color: $ui-fleet-black-75;
font-size: $xx-small;
a {
font-size: inherit;
}
}
}
.data-error {
padding: 78px;
}