From c32af046a232183bb6f11d236912dc1ee7a7fdee Mon Sep 17 00:00:00 2001 From: Giteabot Date: Tue, 14 Jul 2026 19:12:39 -0700 Subject: [PATCH] fix(org): align follow button and wrap description (#38448) (#38454) Backport #38448 Co-authored-by: Shudhanshu Singh Co-authored-by: wxiaoguang --- templates/devtest/flex-list.tmpl | 16 +++++++++++++--- templates/org/header.tmpl | 4 ++-- web_src/css/shared/flex-list.css | 2 ++ 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/templates/devtest/flex-list.tmpl b/templates/devtest/flex-list.tmpl index 26df0920c5d..2551941f7ff 100644 --- a/templates/devtest/flex-list.tmpl +++ b/templates/devtest/flex-list.tmpl @@ -1,7 +1,17 @@ {{template "devtest/devtest-header"}}
-

Flex List (standalone)

+

Flex Relaxed List

+
+
+
+ left looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong + right +
+
+
+ +

Flex Divided List (standalone)

@@ -87,7 +97,7 @@
-

Flex List (with "ui segment")

+

Flex Divided List (with "ui segment")

item 1
@@ -101,7 +111,7 @@
item 2
-

Flex List (with "ui segment fitted", items have their own padding)

+

Flex Divided List (with "ui segment fitted", items have their own padding)

item 1
diff --git a/templates/org/header.tmpl b/templates/org/header.tmpl index 4f9e54b6109..58300edc5b6 100644 --- a/templates/org/header.tmpl +++ b/templates/org/header.tmpl @@ -1,6 +1,6 @@ -
+
{{ctx.AvatarUtils.Avatar .Org 100}}
-
+
{{.Org.DisplayName}} diff --git a/web_src/css/shared/flex-list.css b/web_src/css/shared/flex-list.css index 99515c13428..cb6c69957af 100644 --- a/web_src/css/shared/flex-list.css +++ b/web_src/css/shared/flex-list.css @@ -3,6 +3,8 @@ display: flex; flex-direction: column; gap: var(--gap-block); + min-width: 0; /* keep the same style as "flex-text-block" etc, make the text content wrap/ellipse correctly */ + max-width: 100%; } .flex-relaxed-list > .divider {