Commit 0e5afff68f183344bb9b0696fe62a491d36c1b34
1 parent
c8ad80d3
Exists in
master
and in
1 other branch
FIX inline comments styles
On error list page, comments with especially long words (typically : urls) break layout. Fixed it by using the same forced width and wrapping settings than on error message.
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
app/assets/stylesheets/errbit.css.erb
... | ... | @@ -887,6 +887,9 @@ table.errs tr td.message .inline_comment { |
887 | 887 | border: 1px solid #E2E2E2; |
888 | 888 | text-shadow: 0 1px 0 #FAFAFA; |
889 | 889 | font-style: normal; |
890 | + word-wrap: break-word; | |
891 | + text-overflow: ellipsis; | |
892 | + width: 300px; | |
890 | 893 | } |
891 | 894 | table.errs tr:hover td.message .inline_comment { |
892 | 895 | background-color: #D5E0FA; | ... | ... |