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 font-size of marks can't be changed #3820

Closed
wc-davide opened this issue Oct 4, 2022 · 2 comments
Closed

Slider font-size of marks can't be changed #3820

wc-davide opened this issue Oct 4, 2022 · 2 comments
Labels
feature request New feature or request

Comments

@wc-davide
Copy link

TuSimple/naive-ui version (版本)

2.33.3

Vue version (Vue 版本)

3.2.40

Browser and its version (浏览器及其版本)

Brave (latest)

System and its version (系统及其版本)

Windows 10

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/intelligent-wilson-cz3ryd?file=/src/Demo.vue

Reappearance steps (重现步骤)

Attempting to override fontSize option in slider component changes the font size of the value but not of the marks...

Expected results (期望的结果)

There should be a way to change the default font size of the marks (default 14px)

Actual results (实际的结果)

Marks font size is not changing

Remarks (补充说明)

Need smaller (font-size) marks for my UI

@github-actions github-actions bot added the untriaged need to sort label Oct 4, 2022
@wc-davide
Copy link
Author

not sure if bug is the correct label... maybe feature requests? depends on how the "fontSize" option was originally designed/meant to be used

@OrbisK
Copy link
Collaborator

OrbisK commented Oct 5, 2022

I agree, that fontSize is kinda confusing. Better whould be tooltipFontSize not sure if this will get a change soon. But maybe you can request markFontSize :)

Maybe fontSize should be deprecated but still there and be replaced by tooltipFontSize so it wont break any existing projects.

@07akioni 07akioni added feature request New feature or request and removed untriaged need to sort labels Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants