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: Fix nspace spacing issue #10157

Merged
merged 2 commits into from
May 10, 2021
Merged

ui: Fix nspace spacing issue #10157

merged 2 commits into from
May 10, 2021

Conversation

johncowen
Copy link
Contributor

@johncowen johncowen commented Apr 30, 2021

PRed as a potential alternative approach to #9930. , therefore in draft for the moment.

This fixes the spacing bug in nspaces only by only showing Description if the namespace has one, and removing the extra 2 pixel margin of dds for when dts aren't rendered/don't exist.

If this is approved, there is still the outstanding design question of what to do for the various mixtures of lists containing icons/no-icons/mixture of icons/no-icons. But once we've decided what we want to do there, we can PR whatever the decision is separately.

Before:

Screenshot 2021-04-30 at 13 57 45

After:

Screenshot 2021-04-30 at 13 57 45

@johncowen johncowen added the theme/ui Anything related to the UI label Apr 30, 2021
@kaxcode kaxcode self-requested a review May 6, 2021 15:03
@johncowen johncowen marked this pull request as ready for review May 7, 2021 15:40
@vercel vercel bot temporarily deployed to Preview – consul May 7, 2021 15:46 Inactive
@vercel vercel bot temporarily deployed to Preview – consul-ui-staging May 7, 2021 15:46 Inactive
@johncowen johncowen merged commit 90d1a30 into master May 10, 2021
@johncowen johncowen deleted the ui/bugfix/nspace-spacing branch May 10, 2021 10:19
@hc-github-team-consul-core
Copy link
Collaborator

🍒 If backport labels were added before merging, cherry-picking will start automatically.

To retroactively trigger a backport after merging, add backport labels and re-run https://circleci.com/gh/hashicorp/consul/366376.

@hc-github-team-consul-core
Copy link
Collaborator

🍒✅ Cherry pick of commit 90d1a30 onto release/1.10.x succeeded!

hc-github-team-consul-core pushed a commit that referenced this pull request May 10, 2021
This fixes the spacing bug in nspaces only by only showing Description if the namespace has one, and removing the extra 2 pixel margin of dds for when dts aren't rendered/don't exist.
@hc-github-team-consul-core
Copy link
Collaborator

🍒✅ Cherry pick of commit 90d1a30 onto release/1.9.x succeeded!

hc-github-team-consul-core pushed a commit that referenced this pull request May 10, 2021
This fixes the spacing bug in nspaces only by only showing Description if the namespace has one, and removing the extra 2 pixel margin of dds for when dts aren't rendered/don't exist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/ui Anything related to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants