templates/lib/tasks/doc_generator/template.erb in wd_sinatra-0.2.0 vs templates/lib/tasks/doc_generator/template.erb in wd_sinatra-0.2.1

- old
+ new

@@ -15,10 +15,14 @@ <link href="css/bootstrap.css" rel="stylesheet"> <style type="text/css"> body { padding-top: 60px; } + div.api { + padding-top: 60px; + margin-top: -60px; + } </style> <!-- Le fav and touch icons --> <link rel="shortcut icon" href="images/favicon.ico"> <link rel="apple-touch-icon" href="images/apple-touch-icon.png"> @@ -55,10 +59,10 @@ <h1>Web APIs</h1> <p>You will find on left, the list of all the web APIs offered by this app.</p> </div> <% WSList.all.each do |api| %> - <div class="" id="<%= "raw-#{api.verb}-#{api.url}" %>"> + <div class="api" id="<%= "raw-#{api.verb}-#{api.url}" %>"> <div> <h2><%= api.verb.upcase %> <%= '[SSL]' if api.ssl %> /<%= api.url %></h2> <% if api.auth_required %> <span class='label important'>Authentication required</span> <% end %>