Browse Source

Hide long queries

Andrew Kane 9 năm trước cách đây
mục cha
commit
af8234f233
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/views/blazer/queries/show.html.erb

+ 1 - 1
app/views/blazer/queries/show.html.erb

@@ -149,7 +149,7 @@
   </form>
 <% end %>
 
-<pre><code><%= @statement %></code></pre>
+<pre style="max-height: 236px; overflow: hidden;" onclick="this.style.maxHeight = 'none';"><code><%= @statement %></code></pre>
 
 <% if @success %>
   <div id="results">