diff options
-rw-r--r-- | templates/web/fixmystreet/report/_item.html | 12 | ||||
-rw-r--r-- | web/cobrands/fixmystreet/_base.scss | 13 |
2 files changed, 12 insertions, 13 deletions
diff --git a/templates/web/fixmystreet/report/_item.html b/templates/web/fixmystreet/report/_item.html index c6bc0d4d8..3a2fe2fe7 100644 --- a/templates/web/fixmystreet/report/_item.html +++ b/templates/web/fixmystreet/report/_item.html @@ -1,6 +1,5 @@ <li> -<a href="[% c.uri_for('/report', problem.id ) %]"> - <div class="text"> +<a class="text" href="[% c.uri_for('/report', problem.id ) %]"> <h4>[% problem.title | html %]</h4> <small>[% IF problem.confirmed_local %] [%- prettify_epoch( problem.confirmed_local.epoch, 1 ) %] @@ -20,11 +19,10 @@ [% ELSIF NOT no_fixed AND problem.is_closed %] <small>[% loc('(closed)') %]</small> [% END %] - </div> + </a> [% IF problem.photo %] - <div class="img"> - <img height="60" width="90" src="/photo/[% problem.id %].fp.jpeg" alt=""> - </div> - [% END %] +<a class="img" href="[% c.uri_for('/report', problem.id ) %]"> + <img height="60" width="90" src="/photo/[% problem.id %].fp.jpeg" alt=""> </a> + [% END %] </li> diff --git a/web/cobrands/fixmystreet/_base.scss b/web/cobrands/fixmystreet/_base.scss index 4d3b36888..425bf2dcc 100644 --- a/web/cobrands/fixmystreet/_base.scss +++ b/web/cobrands/fixmystreet/_base.scss @@ -863,7 +863,6 @@ a:hover.button-left { list-style: none; margin:0; padding:0; - a { margin: 0.25em 0 0 0; display:table; background: #f6f6f6; @@ -874,6 +873,9 @@ a:hover.button-left { color:#222222; background:#e6e6e6; } + a:hover { + text-decoration: none; + } .text, .img { display:table-cell; @@ -882,11 +884,11 @@ a:hover.button-left { .img { text-align:right; width: 90px; - img { - height:auto; - } + float: right; + height:auto; } .text { + width: 100%; padding:0.25em 1em; h4 { margin:0; @@ -895,7 +897,6 @@ a:hover.button-left { color:#666; } } - } >p { margin: 0.25em 0 0 0; padding: 0.5em 1em; @@ -914,7 +915,7 @@ a:hover.button-left { .ie6, .ie7 { .issue-list-a { overflow:hidden; - li a { + li { clear:both; width:auto; display:block; |