From: Anton Khorev Date: Fri, 2 Sep 2022 13:22:54 +0000 (+0300) Subject: Simplify css for text selection with stretched link X-Git-Tag: live~1815^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/78b4ff4a290073223bd483240720f1656e6f8367?hp=a0f52e8b4f3c392891fcff31d039a926a318ee68 Simplify css for text selection with stretched link --- 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 */ } }