]> source.dussan.org Git - sonarqube.git/commitdiff
Fix Dropdown alignement
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>
Fri, 25 May 2018 09:51:04 +0000 (11:51 +0200)
committerSonarTech <sonartech@sonarsource.com>
Mon, 28 May 2018 18:20:44 +0000 (20:20 +0200)
server/sonar-web/src/main/js/components/ui/popups.css

index efd2f6b9838dd6775cc4639748c45b3e55fed49b..510eac52c5da3d2eabc8688fbf2eb06c08ed1794 100644 (file)
@@ -72,7 +72,7 @@
 
 .popup.is-bottom .popup-arrow {
   top: -6px;
-  left: calc(50% - 3px);
+  left: calc(50% - 6px);
   border-left-width: 6px;
   border-top-width: 0;
   border-right-color: transparent;
@@ -98,6 +98,8 @@
   top: 100%;
   right: 0;
   margin: 0;
+
+  /* TODO Update like .is-bottom-left, currently it's */
   transform: translateY(6px);
 }
 
   top: 100%;
   left: 0;
   margin: 0;
-  transform: translateY(6px);
+  transform: translate(-8px, 6px);
 }
 
 .popup.is-bottom-left .popup-arrow {