Ver Fonte

set default width of ui.separator to 100%

Falko Schindler há 2 anos atrás
pai
commit
a8baf116ac
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      nicegui/elements/separator.py

+ 1 - 0
nicegui/elements/separator.py

@@ -9,3 +9,4 @@ class Separator(Element):
         A separator for cards, menus and other component containers.
         """
         super().__init__('q-separator')
+        self._classes = ['w-full']