Browse Source

fixed commenting on style method.

Steve Jackson 2 years ago
parent
commit
5c88756eff
1 changed files with 1 additions and 2 deletions
  1. 1 2
      nicegui/element.py

+ 1 - 2
nicegui/element.py

@@ -123,8 +123,7 @@ class Element(ABC, Visibility):
 
     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