Commit 0eb004de9033b93c842a7b88fa136448283f99d9

Authored by Tracey Eubanks
1 parent a85ae5ce
Exists in master and in 1 other branch production

fixes for viewing one liner params too long to fit inside pre tag (it was ugly)

app/views/notices/_params.html.haml
1 .window 1 .window
2 - %pre.hash= pretty_hash notice.params  
3 -  
4 \ No newline at end of file 2 \ No newline at end of file
  3 + .params
  4 + %pre.hash= pretty_hash notice.params
  5 +
public/stylesheets/application.css
@@ -376,13 +376,18 @@ table .main { width: 100%; } @@ -376,13 +376,18 @@ table .main { width: 100%; }
376 table.single_user { 376 table.single_user {
377 border-top: none; 377 border-top: none;
378 } 378 }
  379 +
  380 +.params {
  381 + width: 100%;
  382 + color: #f0f0f0;
  383 + background-color: #222;
  384 + overflow: auto;
  385 +}
  386 +
379 /* Code */ 387 /* Code */
380 pre { 388 pre {
381 padding: 0.8em; 389 padding: 0.8em;
382 margin-bottom: 1em; 390 margin-bottom: 1em;
383 - color: #f0f0f0;  
384 - background-color: #222;  
385 - border: 1px solid #444;  
386 font-family: monaco, courier, monospace; 391 font-family: monaco, courier, monospace;
387 font-size: 1.1em; 392 font-size: 1.1em;
388 } 393 }
@@ -634,7 +639,6 @@ table.tally th.value { @@ -634,7 +639,6 @@ table.tally th.value {
634 .window { 639 .window {
635 width: 100%; 640 width: 100%;
636 margin-bottom: 1em; 641 margin-bottom: 1em;
637 - overflow: auto;  
638 } 642 }
639 .window table { 643 .window table {
640 margin: 0; 644 margin: 0;