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

Nested Access Lists name/link in Access List Members table is misaligned and in the wrong font and wrong size #49162

Open
roraback opened this issue Nov 18, 2024 · 1 comment
Assignees
Labels

Comments

@roraback
Copy link
Contributor

Expected behavior:

The name of nested access lists should be in Ubuntu and should align with the left edge of the table header. It should source our "Body 2" font styles so that it matches the rest of the table (and so that it gets updated if we ever change the "Body 2" styles).

Current behavior:

The name of nested access lists is in Arial, slightly undersized at 13.33px and regular instead of light weight, and is slightly indented due to 6px of padding being added to the text. Looks like this is using a custom-styled button, whereas it might be more appropriate as a link (<a>)?

Image

Bug details:

  • Teleport version: 17.0.1
  • Recreation steps: Open the detail page for any list with nested lists in it.
  • Debug logs: N/A

Thanks to @zmb3 for catching it!

@kiosion
Copy link
Contributor

kiosion commented Nov 18, 2024

It's a button instead of a since it uses an onClick handler to navigate, I think the font/padding are styles on the base Button that I just forgot to override... should be a simple enough fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants