From d4a20a6aa81c81d197a0879e2b7742e368e5445d Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Fri, 16 Oct 2015 15:12:13 +0000 Subject: [PATCH] Merge branch 'comment-highlight' into 'master' Highlight comment based on anchor in URL Signed-off-by: Dmitriy Zaporozhets Fix for #2954 See merge request !1618 --- CHANGELOG | 4 ++++ app/assets/stylesheets/framework/timeline.scss | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 814a6772cf..57768d6b3e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,9 @@ Please view this file on the master branch, on stable branches it's out of date. +v 8.2.0 (unreleased) + - Show last project commit to default branch on project home page + - Highlight comment based on anchor in URL + v 8.1.0 (unreleased) - Fix error preventing displaying of commit data for a directory with a leading dot (Stan Hu) - Speed up load times of issue detail pages by roughly 1.5x diff --git a/app/assets/stylesheets/framework/timeline.scss b/app/assets/stylesheets/framework/timeline.scss index bf21d7fce7..9d6f053aef 100644 --- a/app/assets/stylesheets/framework/timeline.scss +++ b/app/assets/stylesheets/framework/timeline.scss @@ -13,6 +13,10 @@ border-bottom: 1px solid #ECEEF1; border-right: 1px solid #ECEEF1; + &:target { + background: $hover; + } + &:last-child { border-bottom: none; }