-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Increase the font size of large scalar cards #2552
Comments
Hey there @cagiraudo! Have you tried putting the dashboard in fullscreen mode?. We bump the type size on scalars a bit in that mode to help with longer distance viewing like the use case you're describing. |
Hi @kdoh I tried in fullscreen and it's the same. The number is tiny in the center of the card. If you need a screen print or more info ask me |
@cagiraudo so technically this is working as intended, but it seems, @kdoh, that we're hearing that people want to have even larger font sizes when they make a scalar card super wide. Any reason why we wouldn't want to do that? |
@mazameli Let me do a bit of testing and confirm @cagiraudo's not hitting some kind of bug / unintended state with a wide scalar in fullscreen. In fullscreen we should definitely make the size reasonably large and I was under the impression it was doing that. |
Ah, maybe my mistake. I had interpreted it as there was a disconnect around what "big" means/should mean. |
I guess I opened a issue long ago about this.... but apparently did not made it's way to a change in code. Please, notice that as a dashboard designer we know that the number is going to be super-sized if we get the card to be too big. We expected that. But Metabase forces us to use what it think that is the 'max font size'. Please change this default behaviour. Please.... 😿 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There's currently no way to do this with CSS - well, not in a way, where it doesn't mess up the label. |
This comment has been minimized.
This comment has been minimized.
What are the code that needs to be changed for this feature? I tried looking at the frontend code but I could not easily find it. Also, would it be a setting or just changing the default behavior? |
@kevinsimper We're currently working on this - have a look at #21003 |
@flamber Nice, I added a comment. I think the fontsize either needs to user defined or use a algorithm similar to https://brorlandi.github.io/big-text.js/ |
Hi,
I am new with MetaBase. First of all i want to congratulate the whole team
I have the same problem that this issue that was supposedly fixed in v0.16 #2125
I want to make a dashboards with big numbers to be seen from far in a office, but even if i make the card very big, the font-size of the number doesn't scale
Thanks
⬇️ Please click the 👍 reaction instead of leaving a
+1
orupdate?
commentThe text was updated successfully, but these errors were encountered: