From 78b4ff4a290073223bd483240720f1656e6f8367 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Fri, 2 Sep 2022 16:22:54 +0300 Subject: [PATCH] Simplify css for text selection with stretched link --- app/assets/stylesheets/common.scss | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index bc2533c17..ce83a1d93 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -745,14 +745,9 @@ tr.turn:hover { &.selected { background: $list-highlight; } /* color is derived from changeset bbox fillColor in history.js */ - a.stretched-link > span { + a.stretched-link > span, a:not(.stretched-link), [title] { position: relative; - z-index: 2; - } - - a:not(.stretched-link), [title] { - position: relative; - z-index: 1; + z-index: 2; /* needs to be higher than Bootstrap's stretched link ::after z-index */ } } -- 2.43.2