Skip to content

Commit

Permalink
Merge pull request #4300 from TomJGooding/fix-datatable-change-max-he…
Browse files Browse the repository at this point in the history
…ight-back-to-100-percent

fix(datatable): change max-height back to 100%
  • Loading branch information
willmcgugan authored Apr 1, 2024
2 parents a2ba9eb + a98c00a commit b37f59c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Changed

- Exceptions inside `Widget.compose` or workers weren't bubbling up in tests https://github.com/Textualize/textual/issues/4282
- Fixed `DataTable` scrolling issues by changing `max-height` back to 100% https://github.com/Textualize/textual/issues/4286
- Fixed `Button` not rendering correctly with console markup https://github.com/Textualize/textual/issues/4328

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/textual/widgets/_data_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ class DataTable(ScrollView, Generic[CellType], can_focus=True):
background: $surface ;
color: $text;
height: auto;
max-height: 100vh;
max-height: 100%;
}
DataTable > .datatable--header {
text-style: bold;
Expand Down

0 comments on commit b37f59c

Please sign in to comment.