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

Visualization fixes #591

Merged
merged 4 commits into from
May 8, 2024
Merged

Visualization fixes #591

merged 4 commits into from
May 8, 2024

Conversation

Cahllagerfeld
Copy link
Contributor

@Cahllagerfeld Cahllagerfeld commented May 7, 2024

closes #590

Copy link

netlify bot commented May 7, 2024

Deploy Preview for zenmlapp failed.

Name Link
🔨 Latest commit 3b45581
🔍 Latest deploy log https://app.netlify.com/sites/zenmlapp/deploys/663b31458795780008951766

@@ -2,5 +2,5 @@ import { Props } from "./Visualization";
import Markdown from "react-markdown";

export default function MarkdownVisualization({ content }: Props) {
return <Markdown className="prose max-w-none">{content}</Markdown>;
return <Markdown className="!prose !max-w-none">{content}</Markdown>;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was an css override happening, due to an external stylesheet. With the exclamation mark it gets important, so the styles arent overwrittena nymore

@Cahllagerfeld Cahllagerfeld marked this pull request as ready for review May 8, 2024 08:20
@Cahllagerfeld Cahllagerfeld changed the base branch from main to future May 8, 2024 08:49
@Cahllagerfeld Cahllagerfeld merged commit 0759221 into future May 8, 2024
4 of 8 checks passed
@Cahllagerfeld Cahllagerfeld deleted the fix/html-visualization branch May 8, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Visualisation glitch on MarkdownString components
2 participants