From dd42635442108e5d47ed4ace2046f3062ef91cb6 Mon Sep 17 00:00:00 2001 From: Mohammed Rashid Date: Wed, 29 Jul 2015 03:59:37 +0100 Subject: [PATCH] Issue #6235: Add hoverable class inside the a tag closes #6267 --- Changelog.md | 1 + app/views/streams/main_stream.html.haml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Changelog.md b/Changelog.md index 85667ef29..738f2a3d8 100644 --- a/Changelog.md +++ b/Changelog.md @@ -11,6 +11,7 @@ * Bring peeping Tom on the 404 page back [#6226](https://github.com/diaspora/diaspora/pull/6226) * Fix mobile photos index page [#6243](https://github.com/diaspora/diaspora/pull/6243) * Fix conversations view with no contacts [#6266](https://github.com/diaspora/diaspora/pull/6266) +* Links in the left sidebar are now clickable on full width [#6267](https://github.com/diaspora/diaspora/pull/6267) ## Features diff --git a/app/views/streams/main_stream.html.haml b/app/views/streams/main_stream.html.haml index ba2e90e5f..a3c7fccb6 100644 --- a/app/views/streams/main_stream.html.haml +++ b/app/views/streams/main_stream.html.haml @@ -29,16 +29,16 @@ = link_to current_user.first_name, local_or_remote_person_path(current_user.person) %ul#stream_selection - %li.hoverable{:data => {:stream => 'stream'}} - = link_to t("streams.multi.title"), stream_path, :rel => 'backbone' - %li.hoverable{:data => {:stream => 'activity'}} - = link_to t("streams.activity.title"), activity_stream_path, :rel => 'backbone' - %li.hoverable{:data => {:stream => 'mentions'}} - = link_to t('streams.mentions.title'), mentioned_stream_path, :rel => 'backbone' + %li{data: {stream: "stream"}} + = link_to t("streams.multi.title"), stream_path, rel: "backbone", class: "hoverable" + %li{data: {stream: "activity"}} + = link_to t("streams.activity.title"), activity_stream_path, rel: "backbone", class: "hoverable" + %li{data: {stream: "mentions"}} + = link_to t("streams.mentions.title"), mentioned_stream_path, rel: "backbone", class: "hoverable" %li.all_aspects - = render 'aspects/aspect_listings', :stream => @stream + = render "aspects/aspect_listings", stream: @stream %li - = render 'tags/followed_tags_listings' + = render "tags/followed_tags_listings" .span6 #aspect_stream_container.stream_container