fleet/frontend/pages/hosts/components/CommandDetailsModal/_styles.scss
Gabriel Hernandez c061efcd81
optimisations and tests for mdm commands UI (#37531)
This adds some optimisations and tests for the mdm commands UI feature.
This includes:

1. optimisations to making the request for the activity card data. We
add a stale time so the request is always occuring
2. consolidate PastCommandFeed and UpcomingCommandFeed to a single
CommandFeed component
3. adding aria label to buttons to improve a11y when buttons dont have
text (e.g. icon buttons)
4. tests for CommandFeed and FeedListItem components
5. change max-height of textarea in command details modal so it stays
within the viewport
2025-12-19 17:03:40 +00:00

18 lines
347 B
SCSS

.command-details-modal {
&__modal-content {
display: flex;
flex-direction: column;
gap: $pad-large;
padding-bottom: $pad-small;
.textarea-wrapper {
gap: $pad-small;
}
}
// shortening the hight of the textarea
// so the modal height stays within the viewport
.textarea--code {
max-height: 200px;
}
}