-
Flex List (standalone)
+Flex List (standalone)
-
-
-
+
+
+
{{svg "octicon-info" 32}}
-
-
+
+
Flex Item
with label
-
+
consists of leading/main/trailing part
-
+
-
main part contains title and (multiple) body lines
+
-
@@ -35,42 +35,42 @@
-
+
+
{{svg "octicon-info" 32}}
-
-
+
+
Very loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong title
-
+
consists of leading/main/trailing part
-
+
-
Very loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong content
Truncate very loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong content
+
-
-
+
+
{{svg "octicon-repo" 32}}
-
-
-
+
+
+
gitea-org / gitea
{{svg "octicon-repo-forked"}}
-
+
-
Go
@@ -78,7 +78,7 @@
{{svg "octicon-git-branch" 16}}1234
+
@@ -87,27 +87,48 @@
-
when inside header, the trailing part will wrap below the title
Flex List (with "ui segment")
+Flex List (with "ui segment")
-
-
item 1
- item 2
+
+
item 1
+ item 2
-
Flex List (with "ui segment")
-
-
+ item 1
- item 2
+ segment header
+
+
+ item 1
+ item 2
+ Flex List (with "ui segment fitted")
+
+
-
+
item 1
+ item 2
If parent provides the padding/margin space:
-
-
diff --git a/templates/devtest/fomantic-dropdown.tmpl b/templates/devtest/fomantic-dropdown.tmpl
index a10dc890cef..8fea2307689 100644
--- a/templates/devtest/fomantic-dropdown.tmpl
+++ b/templates/devtest/fomantic-dropdown.tmpl
@@ -4,7 +4,7 @@
-
item 1 (no padding top)
- item 2 (no padding bottom)
+ If parent provides border or padding:
+
+
+ before divider
+
+
+
+
+ item 1
+ item 2
after divider
+
+
before divider
+
+
+
+
+ item 1
+ item 2
+ after divider
Dropdown
- search-input & flex-item in menu
+ search-input & flexed items in menu
{{svg "octicon-triangle-down" 14 "dropdown icon"}}