]> source.dussan.org Git - redmine.git/commitdiff
Fix: Adjust padding and box-sizing on activity elements to remove unnecessary scroll...
authorGo MAEDA <maeda@farend.jp>
Fri, 15 Nov 2024 00:39:14 +0000 (00:39 +0000)
committerGo MAEDA <maeda@farend.jp>
Fri, 15 Nov 2024 00:39:14 +0000 (00:39 +0000)
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

index f1166cbe0c20cfb9a774732da107013ba70ba3b3..fc8d32b8a893967846c4becbfb1f791b25f16327 100644 (file)
@@ -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;