mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Tweak Center/Middle default dimensions.
This commit is contained in:
@@ -67,7 +67,6 @@ class Center(Widget):
|
|||||||
DEFAULT_CSS = """
|
DEFAULT_CSS = """
|
||||||
Center {
|
Center {
|
||||||
align-horizontal: center;
|
align-horizontal: center;
|
||||||
width: 100%;
|
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
@@ -79,7 +78,6 @@ class Middle(Widget):
|
|||||||
DEFAULT_CSS = """
|
DEFAULT_CSS = """
|
||||||
Middle {
|
Middle {
|
||||||
align-vertical: middle;
|
align-vertical: middle;
|
||||||
height: 100%;
|
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user