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: Ensure role remove button styling is correct #11297

Merged
merged 2 commits into from
Oct 14, 2021

Conversation

johncowen
Copy link
Contributor

Thanks to @vinayak03's work in #11260 I spotted a little visual issue in the Token Form > Role Listing confirmation dialog.

This PR rather horribly fixes it up by cheating and using the tabindex to target certain buttons, which usually would be an absolute no-no (I know we only set the tabindex on these specific buttons)

The reason why I was ok doing this here is that we have a much stronger code now around these menus in 1.9 forwards (still a work in progress but stronger) and the issue is fixable in 1.9 forwards without using a 'no-no'. FYI: slightly different issue still exists in 1.9 forwards but the fix there is not as ... umm ... bad.

All in all, this fix is the easy/pragmatic way to do this considering the fix stays on 1.8 and no further, and 1.8 will soon be dropped from our support anyway. This may be the last amend we make to 1.8.

Lastly, different PR against main coming which will be backported to 1.9/1.10/1.11 only.

Before:

Screenshot 2021-10-13 at 13 47 40

After:

Screenshot 2021-10-13 at 13 47 56

@johncowen johncowen added the theme/ui Anything related to the UI label Oct 13, 2021
@vercel
Copy link

vercel bot commented Oct 13, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

consul – ./website

🔍 Inspect: https://vercel.com/hashicorp/consul/6fioESDLkV2rKogm5VXKG7h3LnXz
✅ Preview: Failed

[Deployment for 312a6c9 failed]

consul-ui-staging – ./ui

🔍 Inspect: https://vercel.com/hashicorp/consul-ui-staging/EwdejGPpiHaT5uQpfkFVMBfZwXSZ
✅ Preview: Failed

[Deployment for 312a6c9 failed]

Copy link
Contributor

@kaxcode kaxcode left a comment

Choose a reason for hiding this comment

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

👍

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.

2 participants