Skip to content

Commit

Permalink
Fix light mode plain text in non-syntax code blocks in Markdown (#2402)
Browse files Browse the repository at this point in the history
Bit of a workaround at the moment; ideally longer-term we'll go with
something less hard-coded.

See #2400
  • Loading branch information
davep authored Apr 27, 2023
1 parent 55e1987 commit fe99df9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- All `textual.containers` are now `1fr` in relevant dimensions by default https://github.com/Textualize/textual/pull/2386

### Fixed

- Fixed plain text in Markdown code blocks with no syntax being difficult to read https://github.com/Textualize/textual/issues/2400

## [0.21.0] - 2023-04-26

### Changed
Expand Down
1 change: 1 addition & 0 deletions src/textual/widgets/_markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ class MarkdownFence(MarkdownBlock):
width: 100%;
height: auto;
max-height: 20;
color: rgb(210,210,210);
}
MarkdownFence > * {
Expand Down

0 comments on commit fe99df9

Please sign in to comment.