Commit 0eb004de9033b93c842a7b88fa136448283f99d9
1 parent
a85ae5ce
Exists in
master
and in
1 other branch
fixes for viewing one liner params too long to fit inside pre tag (it was ugly)
Showing
2 changed files
with
11 additions
and
6 deletions
Show diff stats
app/views/notices/_params.html.haml
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; | ... | ... |