Pārlūkot izejas kodu

set default width of ui.separator to 100%

Falko Schindler 2 gadi atpakaļ
vecāks
revīzija
a8baf116ac
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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.
         A separator for cards, menus and other component containers.
         """
         """
         super().__init__('q-separator')
         super().__init__('q-separator')
+        self._classes = ['w-full']