diff options
author | Wouter Admiraal <wouter.admiraal@sonarsource.com> | 2019-04-12 10:25:15 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-05-06 11:01:15 +0200 |
commit | 0e5d51d8b22f08bc83953e039e762c3d69ae34cc (patch) | |
tree | d38530a00b34a12f8d33a2e81b9538e508be9416 | |
parent | 0de67f888cd2cc48e7097caaf1860e4985f751c5 (diff) | |
download | sonarqube-0e5d51d8b22f08bc83953e039e762c3d69ae34cc.tar.gz sonarqube-0e5d51d8b22f08bc83953e039e762c3d69ae34cc.zip |
SONAR-11940 Fix overlapping issue locations
-rw-r--r-- | server/sonar-web/src/main/js/components/common/LocationIndex.css | 13 |
1 files 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; } |