zenml-dashboard icon indicating copy to clipboard operation
zenml-dashboard copied to clipboard

[BUG] Visualisation glitch on `MarkdownString` components

Open jlopezpena opened this issue 1 year ago • 2 comments

One of my steps saves an artifact which is a MarkdownString element, using the StructuredString materialiser. In the visualisation, the background and the text color are almost identical, making it almost impossible to read the text.

This is how the visualization looks like: image

The text can be read when selected, but looks invisible in the default view: image

jlopezpena avatar May 07 '24 09:05 jlopezpena

Nice catch!

This looks like an issue with CSS. Is this just affecting code blocks? Or does it also apply to regular text?

Cahllagerfeld avatar May 07 '24 10:05 Cahllagerfeld

I was able to reproduce it, for me it only happens in codeblocks and if a language is specified for the block

Cahllagerfeld avatar May 07 '24 10:05 Cahllagerfeld

As the PR was merged already, I would consider this Issue as closed 👍

Cahllagerfeld avatar May 27 '24 07:05 Cahllagerfeld