diff --git a/app/assets/stylesheets/reports.scss b/app/assets/stylesheets/reports.scss index a63a4c1d5..7a0a99f0d 100644 --- a/app/assets/stylesheets/reports.scss +++ b/app/assets/stylesheets/reports.scss @@ -309,17 +309,33 @@ ul { border-bottom: none; height: 0; + .result-name-container { + max-width: 570px; + } + .result-icon { + display: inline-block; margin-left: 15px; } + .result-name { + display: inline-block; margin-left: 5px; } + + .user-time { + display: inline-block; + } } &:hover > .report-element-header { color: $color-theme-primary; } + + .report-element-body { + clear: left; + padding-top: 10px !important; + } } /* Result asset element style */ diff --git a/app/views/reports/elements/_result_table_element.html.erb b/app/views/reports/elements/_result_table_element.html.erb index e8aef44f2..65f564e78 100644 --- a/app/views/reports/elements/_result_table_element.html.erb +++ b/app/views/reports/elements/_result_table_element.html.erb @@ -6,14 +6,16 @@
" data-name="<%= name %>" data-icon-class="glyphicon-th">
-
- -
-
- <%= name %> -
-
- <%=t "projects.reports.elements.result_table.user_time", user: result.user.full_name , timestamp: l(timestamp, format: :full) %> +
+
+ +
+
+ <%= name %> +
+
+ <%=t "projects.reports.elements.result_table.user_time", user: result.user.full_name , timestamp: l(timestamp, format: :full) %> +
<%= render partial: "reports/elements/element_controls.html.erb" %>