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

Chore: context fields UI improvements when creating context field #6714

Merged
merged 2 commits into from
Mar 28, 2024

Conversation

andreas-unleash
Copy link
Contributor

@andreas-unleash andreas-unleash commented Mar 27, 2024

Styling adjustments based on https://linear.app/unleash/issue/UNL-371/ui-improvement-createedit-context-field

  • Remove maxWidth from container
  • In ul - add maxHeight, padding and border and hide when :empty

Closes # UNL-371

Before:
Screenshot 2024-03-28 at 11 46 12

After:
Screenshot 2024-03-28 at 11 47 03

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Copy link

vercel bot commented Mar 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview Mar 27, 2024 1:12pm
1 Ignored Deployment
Name Status Preview Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Mar 27, 2024 1:12pm

margin: 0,
marginBottom: '1rem !important',
maxHeight: '412px',
overflow: 'auto',
Copy link
Contributor

Choose a reason for hiding this comment

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

what do we get with a large number of items? what does it look like? a regular scrollbar?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes exactly

@andreas-unleash andreas-unleash merged commit 5b32556 into main Mar 28, 2024
15 checks passed
@andreas-unleash andreas-unleash deleted the chore/context-fields-ui-improvements branch March 28, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants