VolkovLabs / volkovlabs-dynamictext-panel

Business Text Panel for @grafana
https://docs.volkovlabs.io
Apache License 2.0
78 stars 14 forks source link

What if the Dynamic Text panel supports 1x? size? #143

Closed YoonSungHyun-Git closed 1 year ago

YoonSungHyun-Git commented 1 year ago

Hello,

I am implementing Grafana's stat panel with DanamicText Panel.

However, if you reduce the panel size, it will not be obscured by the title.

grafana stat panel image

dynamic text panel image

I've shortened it to 1x?, but the title section ignores the panel size as the title section.

Can you support the 1x? size?

mikhail-vl commented 1 year ago

@YoonSungHyun-inzent I believe it happens because of the padding in the CSS.

I was thinking of implementing CSS Editor in addition to the JavaScript Editor we implemented recently to override default CSS styles. I believe it will solve your issue.

YoonSungHyun-Git commented 1 year ago

That's good news. I was still using the style tag for contents. Thank you for your reply.

mikhail-vl commented 1 year ago

@YoonSungHyun-inzent We released version 3.0.0 and sent it to the Grafana team for review. It usually takes a couple of days to review, and then it will be added to the Grafana Catalog.

Blog post with details: https://volkovlabs.io/blog/dynamictext-panel-3.0.0-20230219/ Meanwhile, you can download it from GitHub. Let me know if there is anything else.