From ef4f1cffd828482b2c9d5d6e28d410e734d2021a Mon Sep 17 00:00:00 2001 From: a1012112796 <1012112796@qq.com> Date: Thu, 13 Jun 2024 09:23:27 +0800 Subject: [PATCH 1/2] proposal: add max height limit and overflow for organization profile as title, maybe usefull for user to jump to repository quickly when the profile READEME is too long Signed-off-by: a1012112796 <1012112796@qq.com> --- web_src/css/user.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web_src/css/user.css b/web_src/css/user.css index caabf1834c..38b91b5c40 100644 --- a/web_src/css/user.css +++ b/web_src/css/user.css @@ -108,6 +108,11 @@ border: 1px solid var(--color-secondary); } +.organization.profile #readme_profile { + max-height: 40vh; + overflow: auto; +} + #notification_table { background: var(--color-box-body); border: 1px solid var(--color-secondary); From 882a704e2c147fd3f2beba833aa8130a14819b8a Mon Sep 17 00:00:00 2001 From: a1012112796 <1012112796@qq.com> Date: Thu, 13 Jun 2024 10:03:10 +0800 Subject: [PATCH 2/2] fix lint Signed-off-by: a1012112796 <1012112796@qq.com> --- web_src/css/user.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_src/css/user.css b/web_src/css/user.css index 38b91b5c40..8608cf929d 100644 --- a/web_src/css/user.css +++ b/web_src/css/user.css @@ -109,8 +109,8 @@ } .organization.profile #readme_profile { - max-height: 40vh; - overflow: auto; + max-height: 40vh; + overflow: auto; } #notification_table {