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

feat: responsive strategy icons #4121

Merged
merged 7 commits into from
Jun 29, 2023
Merged

Conversation

nunogois
Copy link
Member

@nunogois nunogois commented Jun 29, 2023

https://linear.app/unleash/issue/2-1167/multiple-strategies-breaking-the-environment-card
https://linear.app/unleash/issue/2-1179/buttons-have-an-extra-space-if-the-icon-its-not-visible

This fixes the broken UI when we have too many strategies.

Before:
image

After:
image

We also added the new strategy type to the tooltips:
image

image

This also fixes an extra margin we caught on our PermissionButton when it had no endIcon set.

Co-authored by: @daveleek

@vercel
Copy link

vercel bot commented Jun 29, 2023

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

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 29, 2023 4:46pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Jun 29, 2023 4:46pm

Copy link
Contributor

@nicolaesocaciu nicolaesocaciu left a comment

Choose a reason for hiding this comment

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

LGTM!

@nunogois nunogois merged commit 73b4ae1 into main Jun 29, 2023
17 checks passed
@nunogois nunogois deleted the feat-responsive-strategy-icons branch June 29, 2023 17:01
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

3 participants