Переглянути джерело

set default width of ui.separator to 100%

Falko Schindler 2 роки тому
батько
коміт
a8baf116ac
1 змінених файлів з 1 додано та 0 видалено
  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']