Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ui] Fixed: Evaluations sidebar/response not scrollable #16960

Conversation

philrenaud
Copy link
Contributor

This PR establishes CSS flexbox regions in the Evaluations sidebar so both it, and the evaluation response, can be scrolled.

@philrenaud philrenaud self-assigned this Apr 21, 2023
@philrenaud philrenaud linked an issue Apr 21, 2023 that may be closed by this pull request
@philrenaud philrenaud requested a review from ChaiWithJai April 21, 2023 15:49
display: grid;
min-height: 200px;
grid-template-rows: auto 1fr;
overflow: hidden;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parent evaluation response container has overflow: hidden deliberately: it contains both the header and the json viewer, the latter of which has auto overflow.

}
& > div,
h1.title {
margin: 0;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let the flex/grid parent handle gap/margin where possible

@philrenaud philrenaud force-pushed the 16945-ui-evaluations-sidebar-evaluation-response-not-scrollable branch from d06e298 to 5f1f452 Compare April 21, 2023 15:52
@github-actions
Copy link

github-actions bot commented Apr 21, 2023

Ember Asset Size action

As of bb9927d

Files that got Bigger 🚨:

File raw gzip
nomad-ui.js +39.9 kB +6.67 kB
nomad-ui.css +24 kB +2.06 kB

Files that stayed the same size 🤷‍:

File raw gzip
vendor.js 0 B 0 B
vendor.css 0 B 0 B

@github-actions
Copy link

github-actions bot commented Apr 21, 2023

Ember Test Audit comparison

main 5f1f452 change
passes 1489 1489 0
failures 0 0 0
flaky 0 0 0
duration 12m 03s 970ms 10m 53s 412ms -1m 10s 558ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.5.x backport to 1.5.x release line theme/ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ui] Evaluations sidebar / evaluation response not scrollable
2 participants