Change default 'overflow' style for 'Horizontal'.

Related issues: #1957.
This commit is contained in:
Rodrigo Girão Serrão
2023-03-09 15:30:44 +00:00
parent 58ad5dfdd9
commit 639d8f0250
2 changed files with 2 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Changed
- Renamed `Vertical` to `VerticalScroll` https://github.com/Textualize/textual/issues/1957
- Default `overflow` style for `Horizontal` changed to `hidden hidden` https://github.com/Textualize/textual/issues/1957
### Added

View File

@@ -32,7 +32,7 @@ class Horizontal(Widget):
Horizontal {
height: 1fr;
layout: horizontal;
overflow-x: hidden;
overflow: hidden hidden;
}
"""