diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-03 12:33:40 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-03 12:33:40 +0000 |
commit | e4a879b42284eb7ba70a826413b6efacebc623b7 (patch) | |
tree | 94b3c8634cd27228b97ba47489d7cc90cd66f92c | |
parent | 75dc617be3215b2ca6946c0b85071bfb5b043d07 (diff) | |
download | redmine-e4a879b42284eb7ba70a826413b6efacebc623b7.tar.gz redmine-e4a879b42284eb7ba70a826413b6efacebc623b7.zip |
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
-rw-r--r-- | app/views/repositories/_revisions.html.erb | 2 | ||||
-rw-r--r-- | public/stylesheets/application.css | 2 |
2 files changed, 3 insertions, 1 deletions
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 @@ +<div class="autoscroll"> <% 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 %> </table> <%= submit_tag(l(:label_view_diff), :name => nil) if show_diff %> <% end %> +</div> 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; } |