浏览代码

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']