mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
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
18 lines
347 B
SCSS
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;
|
|
}
|
|
}
|