]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9183 Do not collapse setting descriptions
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>
Fri, 5 May 2017 13:04:28 +0000 (15:04 +0200)
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>
Tue, 9 May 2017 09:15:45 +0000 (11:15 +0200)
server/sonar-web/src/main/js/apps/settings/components/Definition.js
server/sonar-web/src/main/js/apps/settings/styles.css

index 3d765002dc97d7004777fd10bfe12fbfebaad3f5..ec64d222cb4a61aaaf3912a9ff3b0749b76621e0 100644 (file)
@@ -141,7 +141,7 @@ class Definition extends React.PureComponent {
           </h3>
 
           <div
-            className="settings-definition-description markdown small spacer-top"
+            className="markdown small spacer-top"
             dangerouslySetInnerHTML={{ __html: getPropertyDescription(definition) }}
           />
 
index f8e42a325fd1af0515648b8b92fb44fed02cd5da..a529c5c5c5f173711885958db990ee634a44c3e4 100644 (file)
   overflow: visible;
 }
 
-.settings-definition-description {
-  position: relative;
-  max-height: 140px;
-  overflow: hidden;
-}
-
-.settings-definition-description:after {
-  position: absolute;
-  z-index: 3;
-  top: 110px;
-  left: 0;
-  right: 0;
-  height: 30px;
-  display: block;
-  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(255, 255, 255));
-  content: "";
-}
-
-.settings-definition-description:hover {
-  max-height: 100%;
-}
-
-.settings-definition-description:hover:after {
-  display: none;
-}
-
-.settings-definition-changed .settings-definition-description:after {
-  background-image: linear-gradient(-45deg, #fcf8e3 7px, transparent 0), linear-gradient(45deg, #fcf8e3 7px, transparent 0);
-}
-
 .settings-definition-state {
   position: absolute;
   top: 0;