mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Set minimum box model height to 0.
This commit is contained in:
@@ -124,7 +124,7 @@ def get_box_model(
|
||||
)
|
||||
content_height = min(content_height, max_height)
|
||||
|
||||
content_height = max(Fraction(1), content_height)
|
||||
content_height = max(Fraction(0), content_height)
|
||||
model = BoxModel(
|
||||
content_width + gutter.width, content_height + gutter.height, margin
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user