From 0e5d51d8b22f08bc83953e039e762c3d69ae34cc Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Fri, 12 Apr 2019 10:25:15 +0200 Subject: [PATCH] SONAR-11940 Fix overlapping issue locations --- .../src/main/js/components/common/LocationIndex.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/server/sonar-web/src/main/js/components/common/LocationIndex.css b/server/sonar-web/src/main/js/components/common/LocationIndex.css index e9ddf9c0e47..fc4443ce34b 100644 --- a/server/sonar-web/src/main/js/components/common/LocationIndex.css +++ b/server/sonar-web/src/main/js/components/common/LocationIndex.css @@ -41,12 +41,21 @@ background-color: var(--gray80); } -.location-index.is-leading { +.location-index.is-leading:first-child { + margin-left: 0; +} + +.location-index.is-leading:not(:first-child) { position: absolute; - margin: 1px 0 0 -4px !important; + margin-left: -4px; transform: translateX(-100%); } +.location-index.is-leading + .is-leading { + position: relative; + transform: none; +} + .location-index[tabindex] { cursor: pointer; } -- 2.39.5