From d09fedc8665713db2fba457519be815bfee33734 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Mon, 21 Aug 2023 07:48:07 +0000 Subject: [PATCH 1/3] fix --- templates/org/header.tmpl | 2 +- templates/org/home.tmpl | 2 +- web_src/css/base.css | 1 + web_src/css/org.css | 1 + web_src/css/repo.css | 1 + 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/org/header.tmpl b/templates/org/header.tmpl index 9348e14544fed..4cd45ab2a0051 100644 --- a/templates/org/header.tmpl +++ b/templates/org/header.tmpl @@ -2,7 +2,7 @@
-
+
{{ctx.AvatarUtils.Avatar . 100}} {{.DisplayName}} diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index 0bd744d2b87da..32f953dbbe84b 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -3,7 +3,7 @@
{{ctx.AvatarUtils.Avatar .Org 140 "org-avatar"}}
-
+
{{.Org.DisplayName}} {{if .Org.Visibility.IsLimited}}{{.locale.Tr "org.settings.visibility.limited_shortname"}}{{end}} diff --git a/web_src/css/base.css b/web_src/css/base.css index 94dd85814ecdb..4102ba63779c2 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1688,6 +1688,7 @@ i.icon.centerlock { .ui.label { padding: 0.3em 0.5em; transition: none; + white-space: nowrap; } .ui.label, diff --git a/web_src/css/org.css b/web_src/css/org.css index 4bb3b0cd579cc..b93b225eb51ef 100644 --- a/web_src/css/org.css +++ b/web_src/css/org.css @@ -104,6 +104,7 @@ .organization.profile #org-info { overflow-wrap: anywhere; flex: 1; + word-break: break-all; } .organization.profile #org-info .ui.header { diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 8e8125a5f4a71..0689619941638 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -2768,6 +2768,7 @@ tbody.commit-list { justify-content: space-between; flex-wrap: wrap; word-break: break-word; + gap: 0.5rem; } @media (max-width: 767.98px) { From 898f0bd67a65ea22f3f834f3d06ab03d30e1fe51 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Mon, 21 Aug 2023 07:57:56 +0000 Subject: [PATCH 2/3] add gt-ac --- templates/org/header.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/org/header.tmpl b/templates/org/header.tmpl index 4cd45ab2a0051..01a472de8b190 100644 --- a/templates/org/header.tmpl +++ b/templates/org/header.tmpl @@ -2,7 +2,7 @@
-
+
{{ctx.AvatarUtils.Avatar . 100}} {{.DisplayName}} From 7d35062cc96d6408d5fa84508ebfb9fffabedc06 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Mon, 21 Aug 2023 08:34:55 +0000 Subject: [PATCH 3/3] imrprove --- templates/shared/user/org_profile_avatar.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/shared/user/org_profile_avatar.tmpl b/templates/shared/user/org_profile_avatar.tmpl index 9c949305114ae..670bfca5f4e5b 100644 --- a/templates/shared/user/org_profile_avatar.tmpl +++ b/templates/shared/user/org_profile_avatar.tmpl @@ -2,7 +2,7 @@
-
+
{{ctx.AvatarUtils.Avatar . 100}} {{.DisplayName}}