Skip to content

Commit

Permalink
fixed commenting on style method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Jackson committed Feb 11, 2023
1 parent fd642b9 commit 5c88756
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nicegui/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ def _parse_style(text: Optional[str]) -> Dict[str, str]:

def style(self, add: Optional[str] = None, *, remove: Optional[str] = None, replace: Optional[str] = None)\
-> Self:
"""
Apply, remove, or replace CSS style sheet definitions to modify the look of the element.
"""Apply, remove, or replace CSS style sheet definitions to modify the look of the element.
.. note::
Removing styles can be helpful if the predefined style sheet definitions by NiceGUI are not wanted
Expand Down

0 comments on commit 5c88756

Please sign in to comment.