diff --git a/src/textual/css/_style_properties.py b/src/textual/css/_style_properties.py index a69d94207..45ba9c423 100644 --- a/src/textual/css/_style_properties.py +++ b/src/textual/css/_style_properties.py @@ -570,7 +570,7 @@ class DockProperty: """ return cast(DockEdge, obj.get_rule("dock", "")) - def __set__(self, obj: Styles, dock_name: str | None): + def __set__(self, obj: StylesBase, dock_name: str | None): """Set the Dock property. Args: