From: Wouter Admiraal Date: Fri, 12 Apr 2019 08:25:15 +0000 (+0200) Subject: SONAR-11940 Fix overlapping issue locations X-Git-Tag: 7.8~289 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0e5d51d8b22f08bc83953e039e762c3d69ae34cc;p=sonarqube.git SONAR-11940 Fix overlapping issue locations --- 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; }