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

Add nudgeOversize option #11

Merged
merged 1 commit into from
Aug 9, 2023
Merged

Add nudgeOversize option #11

merged 1 commit into from
Aug 9, 2023

Conversation

cleroux
Copy link
Owner

@cleroux cleroux commented Aug 9, 2023

Labels that are too large to fit inside the bar are nudged to the outside position. This PR adds an option to disable this behavior.

labels: {
	position: "middle",
	nudgeOversize: false
},

nudgeOversize: true (default):
image

nudgeOversize: false:
image

@cleroux cleroux merged commit 12c07c7 into master Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant