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

17422 update custom field group display tag #17423

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

arthanson
Copy link
Collaborator

@arthanson arthanson commented Sep 9, 2024

Fixes: #17422

Was set at h6 tag, but the "Custom Fields" header above is h2, so making it h3 as that is correct hierarchical wise and also displays at the correct size.

Add a new site | NetBox 2024-09-10 09-46-55

@arthanson arthanson marked this pull request as ready for review September 9, 2024 18:09
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

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

The custom field group heading should be visually distinct from the form field group. Currently they are both rendered as 16px text. I suggest using one of Bootstrap's heading classes to display the <h3> as if it were an <h4> or <h5>.

Additionally, the <h3> element should have the col-9 & offset-3 classes to match the form group heading.

@jeremystretch jeremystretch merged commit 353db09 into develop Sep 10, 2024
6 checks passed
@jeremystretch jeremystretch deleted the 17422-custom-field-group branch September 10, 2024 18:02
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

custom field group label too small
2 participants