Skip to content

Commit b37f59c

Browse files
authored
Merge pull request #4300 from TomJGooding/fix-datatable-change-max-height-back-to-100-percent
fix(datatable): change max-height back to 100%
2 parents a2ba9eb + a98c00a commit b37f59c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1515
### Changed
1616

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

2021
### Added

src/textual/widgets/_data_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ class DataTable(ScrollView, Generic[CellType], can_focus=True):
266266
background: $surface ;
267267
color: $text;
268268
height: auto;
269-
max-height: 100vh;
269+
max-height: 100%;
270270
}
271271
DataTable > .datatable--header {
272272
text-style: bold;

0 commit comments

Comments
 (0)