Fix UI script content and output display height. (#14168)

relates to #13847

fix max height for script content and output in the script details
modal.

new max heights:


![image](https://github.com/fleetdm/fleet/assets/1153709/9150c388-850f-4ff8-8117-1a266164e5dc)


- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality
This commit is contained in:
Gabriel Hernandez 2023-09-28 13:02:27 +01:00 committed by GitHub
parent 4cf2e6d570
commit ccda98d769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1 @@
- fix script content and output formatting on the scripts detail modal.

View file

@ -0,0 +1 @@
- fix the displayed max-height display for script content and output in the script details modal.

View file

@ -16,7 +16,8 @@
&__script-content-textarea {
box-sizing: border-box;
min-height: 300px;
height: 300px;
overflow-y: auto;
font-family: "SourceCodePro";
}
@ -51,5 +52,7 @@
&__output-textarea {
font-family: "SourceCodePro";
max-height: 150px;
overflow: auto;
}
}