From 3602a1987db58da13ee2baa33bb0c36a60e27608 Mon Sep 17 00:00:00 2001
From: Nanguan Lin <70063547+lng2020@users.noreply.github.com>
Date: Wed, 25 Oct 2023 18:00:53 +0800
Subject: [PATCH 01/65] Add border to file tree 'sub-items' and add padding to
'item-file' (#27593)
## Add border to file tree 'sub-items'
close #24766
view in `gitea-light`
view in `gitea-dark`
## Change the 'item-file' padding
Before that the 'item-file' only have padding when they in
'item-directory', which is too compact when 'item-file' after
'item-directory'

---------
Co-authored-by: silverwind
---
web_src/js/components/DiffFileTreeItem.vue | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/web_src/js/components/DiffFileTreeItem.vue b/web_src/js/components/DiffFileTreeItem.vue
index 22c23f3ca0c..9d7ab4afc5d 100644
--- a/web_src/js/components/DiffFileTreeItem.vue
+++ b/web_src/js/components/DiffFileTreeItem.vue
@@ -61,11 +61,12 @@ a, a:hover {
display: flex;
flex-direction: column;
gap: 1px;
- padding-left: 8px;
+ margin-left: 13px;
+ border-left: 1px solid var(--color-secondary);
}
.sub-items .item-file {
- padding-left: 24px;
+ padding-left: 18px;
}
.item-file.selected {
From f39256f035a561fbd10955ac40ef5ad4b794f47d Mon Sep 17 00:00:00 2001
From: yp05327 <576951401@qq.com>
Date: Wed, 25 Oct 2023 19:40:39 +0900
Subject: [PATCH 02/65] Add word-break to organization name and description
(#26624)
Fix #24318
Before:



After:




---
templates/org/header.tmpl | 2 +-
templates/org/home.tmpl | 2 +-
templates/shared/user/org_profile_avatar.tmpl | 2 +-
web_src/css/base.css | 1 +
web_src/css/org.css | 1 +
web_src/css/repo.css | 1 +
6 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/templates/org/header.tmpl b/templates/org/header.tmpl
index 72adf6d9b5a..7b912c1c569 100644
--- a/templates/org/header.tmpl
+++ b/templates/org/header.tmpl
@@ -2,7 +2,7 @@