Fix light mode plain text in non-syntax code blocks in Markdown (#2402)

Bit of a workaround at the moment; ideally longer-term we'll go with
something less hard-coded.

See #2400
This commit is contained in:
Dave Pearson
2023-04-27 12:03:05 +01:00
committed by GitHub
parent 55e198767f
commit fe99df95fc
2 changed files with 5 additions and 0 deletions

View File

@@ -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

View File

@@ -476,6 +476,7 @@ class MarkdownFence(MarkdownBlock):
width: 100%;
height: auto;
max-height: 20;
color: rgb(210,210,210);
}
MarkdownFence > * {