Skip to content

Commit

Permalink
error message
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Nov 24, 2024
1 parent 3e99fd2 commit 7279db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/textual/css/_help_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ def offset_single_axis_help_text(property_name: str) -> HelpText:


def position_help_text(property_name: str) -> HelpText:
"""Help text to show when the user supplies the wrong value for position.,
"""Help text to show when the user supplies the wrong value for position.
Args:
property_name: The name of the property.
Expand All @@ -783,7 +783,7 @@ def position_help_text(property_name: str) -> HelpText:
return HelpText(
summary=f"Invalid value for [i]{property_name}[/]",
bullets=[
Bullet(f"Valid scalar units are {friendly_list(VALID_POSITION)}"),
Bullet(f"Valid values are {friendly_list(VALID_POSITION)}"),
],
)

Expand Down

0 comments on commit 7279db8

Please sign in to comment.