OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Update spacings in project activity list
Benjamin Bädorff0aff204f42b
diff --git a/app/views/activities/index.html.erb b/app/views/activities/index.html.erbindex bef2e6299d4..d544de942e3 100644--- a/app/views/activities/index.html.erb+++ b/app/views/activities/index.html.erb@@ -39,7 +39,7 @@ See COPYRIGHT and LICENSE files for more details.<ul class="op-project-activity-list"><% @events_by_day[day].sort { |x, y| y.event_datetime <=> x.event_datetime }.each_with_index do |e, index| -%>- <li class="<%= e.event_type %> <%= User.current.logged? && e.respond_to?(:event_author) && User.current == e.event_author ? 'me' : nil %>">+ <li class="op-project-activity-list--item"><div class="op-project-activity-list--item-title"><%= link_to format_activity_title(e.event_title), e.event_path%><%# <% if (@project.nil? || @project != e.project) && e.project %>@@ -52,7 +52,7 @@ See COPYRIGHT and LICENSE files for more details.</div><ul class="op-project-activity-list--item-details"><% e.journal.details.each do |detail| -%>- <li><%= e.journal.render_detail(detail) %></li>+ <li class="op-project-activity-list--item-detail"><%= e.journal.render_detail(detail) %></li><% end -%></ul>diff --git a/frontend/src/global_styles/content/_project_activity_days.sass b/frontend/src/global_styles/content/_project_activity_days.sassindex 85b594f851c..d43112964f6 100644--- a/frontend/src/global_styles/content/_project_activity_days.sass+++ b/frontend/src/global_styles/content/_project_activity_days.sass@@ -1,6 +1,11 @@.op-project-activity-daysdisplay: flexflex-direction: column+ margin: 0&--header@include spot-body-small (bold)+ padding: 0+ padding-bottom: $spot-spacing-0_5+ margin-bottom: $spot-spacing-1+ color: $spot-color-basic-gray-1diff --git a/frontend/src/global_styles/content/_project_activity_list.sass b/frontend/src/global_styles/content/_project_activity_list.sassindex 194f4ce9fb2..77af42d4760 100644--- a/frontend/src/global_styles/content/_project_activity_list.sass+++ b/frontend/src/global_styles/content/_project_activity_list.sass@@ -8,6 +8,8 @@&--itemdisplay: flexflex-direction: column+ margin-bottom: $spot-spacing-1_25+ color: $spot-color-basic-gray-1&-title@include spot-body-small (bold)@@ -15,10 +17,20 @@&-subtitle@include spot-captioncolor: $spot-color-basic-gray-2+ margin-bottom: $spot-spacing-0_5&-details@include spot-body-smalllist-style-type: disc+ padding: $spot-spacing-0_5+ padding-left: $spot-spacing-2+ margin: 0++ &-detail++ &:not(:last-child)+ margin-bottom: $spot-spacing-0_25+&-description&-time