From 7ba7294949e6f36dc4e17c86a0cd729bdba2ba63 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Fri, 15 Nov 2024 00:39:14 +0000 Subject: [PATCH] Fix: Adjust padding and box-sizing on activity elements to remove unnecessary scroll bar on user profile page (#41756). Patch by Kenta Kumojima (user:kumojima). git-svn-id: https://svn.redmine.org/redmine/trunk@23274 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/assets/stylesheets/application.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index f1166cbe0..fc8d32b8a 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -747,7 +747,7 @@ div#activity dt .time { color: #777; font-size: 93%; margin-right: 4px; } div#activity dd .description, #search-results dd .description { font-style: italic; } div#activity span.project:after, #search-results span.project:after { content: " -"; } div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; } -div#activity dt.grouped {margin-left:5em;} +div#activity dt.grouped {padding-left:5em;} div#activity dd.grouped {margin-left:9em;} div#activity h3 { padding: 5px; @@ -757,6 +757,7 @@ div#activity dt { padding-top: 10px; border-top: 1px solid #eeeeee; width: 100%; /* Prevents border from disappearing due to inline-flex shrinking */ + box-sizing: border-box; } div#activity dl dt:first-child { border: 0px; -- 2.39.5