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 1 .window
2   - %pre.hash= pretty_hash notice.params
3   -
4 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 376 table.single_user {
377 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 387 /* Code */
380 388 pre {
381 389 padding: 0.8em;
382 390 margin-bottom: 1em;
383   - color: #f0f0f0;
384   - background-color: #222;
385   - border: 1px solid #444;
386 391 font-family: monaco, courier, monospace;
387 392 font-size: 1.1em;
388 393 }
... ... @@ -634,7 +639,6 @@ table.tally th.value {
634 639 .window {
635 640 width: 100%;
636 641 margin-bottom: 1em;
637   - overflow: auto;
638 642 }
639 643 .window table {
640 644 margin: 0;
... ...