Skip to content

Commit 300efa8

Browse files
sadpandajoeclaude
andcommitted
fix(dashboard): override font-weight for bold markdown in dashboard widgets
Add font-weight: 600 override specifically for <strong> tags in dashboard markdown widgets to restore proper bold text appearance. The global theme uses fontWeightStrong: 500 (medium), which is too subtle to distinguish from normal text (400). This scoped override restores the previous behavior of using font-weight 600 (semibold) for bold markdown without affecting other components. Fixes #35485 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6d74fe2 commit 300efa8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • superset-frontend/src/dashboard/components/gridComponents/Markdown

superset-frontend/src/dashboard/components/gridComponents/Markdown/Markdown.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ const MarkdownStyles = styled.div`
9696
font-weight: ${theme.fontWeightNormal};
9797
}
9898
99+
strong {
100+
font-weight: 600;
101+
}
102+
99103
h6 {
100104
font-size: ${theme.fontSizeSM}px;
101105
}

0 commit comments

Comments
 (0)