From e4a879b42284eb7ba70a826413b6efacebc623b7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 3 Apr 2016 12:33:40 +0000 Subject: [PATCH] Make full revision table available on mobile devices (#22336). Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@15303 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/repositories/_revisions.html.erb | 2 ++ public/stylesheets/application.css | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/repositories/_revisions.html.erb b/app/views/repositories/_revisions.html.erb index be8641388..a8e0197f5 100644 --- a/app/views/repositories/_revisions.html.erb +++ b/app/views/repositories/_revisions.html.erb @@ -1,3 +1,4 @@ +
<% show_revision_graph = ( @repository.supports_revision_graph? && path.blank? ) %> <%= if show_revision_graph && revisions && revisions.any? indexed_commits, graph_space = index_commits(revisions, @repository.branches) do |scmid| @@ -49,3 +50,4 @@ end %> <%= submit_tag(l(:label_view_diff), :name => nil) if show_diff %> <% end %> +
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 6aa5646ea..6ee3031c2 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -495,7 +495,7 @@ ul.properties li span {font-style:italic;} .total-hours { font-size: 110%; font-weight: bold; } .total-hours span.hours-int { font-size: 120%; } -.autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;} +.autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em; position: relative;} #user_login, #user_firstname, #user_lastname, #user_mail, #my_account_form select, #user_form select, #user_identity_url { width: 90%; } #workflow_copy_form select { width: 200px; } -- 2.39.5