From 6de84e0fc69184c7d9808d4e5b92993072e69f11 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 9 Jul 2025 17:37:42 +0200 Subject: [PATCH 1/6] Align `issue-title-buttons` --- web_src/css/repo.css | 1 + 1 file changed, 1 insertion(+) diff --git a/web_src/css/repo.css b/web_src/css/repo.css index a72709c382020..22cf7b733dea6 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -354,6 +354,7 @@ td .commit-summary { } .repository.view.issue .issue-title-buttons { + align-self: start; display: flex; gap: 0.5em; } From 433e11abf832c8601ab7754e915f69e89b637458 Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 10 Jul 2025 11:04:25 +0200 Subject: [PATCH 2/6] fix on parent instead --- web_src/css/repo.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 22cf7b733dea6..082099c386e2d 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -354,7 +354,6 @@ td .commit-summary { } .repository.view.issue .issue-title-buttons { - align-self: start; display: flex; gap: 0.5em; } @@ -366,7 +365,6 @@ td .commit-summary { .repository.view.issue .issue-title { display: flex; - align-items: center; gap: 0.5em; margin-bottom: 8px; min-height: 40px; /* avoid layout shift on edit */ From 7893b92f14c5fd9c93091d6e66e6bed6b62a983d Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 14 Jul 2025 12:02:01 +0200 Subject: [PATCH 3/6] tweak line-height instead --- web_src/css/repo.css | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 0b50d1d1d7a82..b7b0ee7400def 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -342,16 +342,12 @@ td .commit-summary { width: 100%; font-weight: var(--font-weight-normal); font-size: 32px; - line-height: 40px; + line-height: 36px; /* vertically center text with the .issue-title-buttons. */ margin: 0; padding-right: 0.25rem; overflow-wrap: anywhere; } -.repository.view.issue .issue-title#issue-title-display .issue-title-buttons { - margin-top: 4px; /* the title's height is 40px, fine tune to align the buttons */ -} - .repository.view.issue .issue-title#issue-title-editor { padding-top: 4px; } From 8b247c271e3979acf45c6d61a4aee21b5f0812f0 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 14 Jul 2025 12:06:51 +0200 Subject: [PATCH 4/6] fix editing --- web_src/css/repo.css | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/web_src/css/repo.css b/web_src/css/repo.css index b7b0ee7400def..fd5e5305a6543 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -334,7 +334,7 @@ td .commit-summary { display: flex; gap: 0.5em; margin-bottom: 8px; - min-height: 40px; /* avoid layout shift on edit */ + min-height: 36px; /* avoid layout shift on edit */ } .repository.view.issue .issue-title h1 { @@ -348,10 +348,6 @@ td .commit-summary { overflow-wrap: anywhere; } -.repository.view.issue .issue-title#issue-title-editor { - padding-top: 4px; -} - @media (max-width: 767.98px) { .repository.view.issue .issue-title { flex-direction: column; From 5637449f909b584647c2b267ec7bd75a83fa4e3f Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 14 Jul 2025 12:35:33 +0200 Subject: [PATCH 5/6] Update web_src/css/repo.css Signed-off-by: silverwind --- web_src/css/repo.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/css/repo.css b/web_src/css/repo.css index fd5e5305a6543..053729b48353b 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -342,7 +342,7 @@ td .commit-summary { width: 100%; font-weight: var(--font-weight-normal); font-size: 32px; - line-height: 36px; /* vertically center text with the .issue-title-buttons. */ + line-height: 36px; /* vertically center text with .issue-title-buttons */ margin: 0; padding-right: 0.25rem; overflow-wrap: anywhere; From d3e086b32ca25479f11ca08b368020f23c151c05 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 14 Jul 2025 12:35:59 +0200 Subject: [PATCH 6/6] Update web_src/css/repo.css Signed-off-by: silverwind --- web_src/css/repo.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 053729b48353b..6bcfc61278569 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -342,7 +342,7 @@ td .commit-summary { width: 100%; font-weight: var(--font-weight-normal); font-size: 32px; - line-height: 36px; /* vertically center text with .issue-title-buttons */ + line-height: 36px; /* vertically center single-line text with .issue-title-buttons */ margin: 0; padding-right: 0.25rem; overflow-wrap: anywhere;