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

Slider bubble cuts off text #968

Closed
howudodat opened this issue Oct 13, 2024 · 1 comment
Closed

Slider bubble cuts off text #968

howudodat opened this issue Oct 13, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@howudodat
Copy link

Is your feature request related to a problem? Please describe.
The thumbnail for the slider cuts off text if it is more than 2 characters.

Describe the solution you'd like
Can we either expand the bubble or automatically shrink the font?

Describe alternatives you've considered
Right now I am convertiing the number from 1000 to 1 (ie: 2500 = 2.5)

Additional context
image

@vegegoku vegegoku self-assigned this Oct 13, 2024
@vegegoku vegegoku added the enhancement New feature or request label Oct 13, 2024
@github-project-automation github-project-automation bot moved this to To do in Domino UI Oct 13, 2024
@vegegoku vegegoku added this to the 2.0.3 milestone Oct 13, 2024
vegegoku added a commit that referenced this issue Oct 14, 2024
@github-project-automation github-project-automation bot moved this from To do to Done in Domino UI Oct 14, 2024
@vegegoku
Copy link
Member

With the fix we can use two different styles for the thumb, the rounded style and the flat style, rounded is the default one which is similar to what we had before the fix and it wont support large text since that wont look good how ever we do it.
flat one will render the thumb in rectangle shape that allow the text to expand as much as needed.

Rounded
image

Flat

image

The default can be change globally using the DominoUiConfig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants