aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-05-05 15:04:28 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-05-09 11:15:45 +0200
commitb7b828b3482f25c906e2b77754e2a302d45d3bbf (patch)
tree050c66b86a83c0a638e559b94de09171c8102b05 /server/sonar-web
parent464e95be6c8d4ed4e83dd4811b332047ec6dfee5 (diff)
downloadsonarqube-b7b828b3482f25c906e2b77754e2a302d45d3bbf.tar.gz
sonarqube-b7b828b3482f25c906e2b77754e2a302d45d3bbf.zip
SONAR-9183 Do not collapse setting descriptions
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/js/apps/settings/components/Definition.js2
-rw-r--r--server/sonar-web/src/main/js/apps/settings/styles.css30
2 files changed, 1 insertions, 31 deletions
diff --git a/server/sonar-web/src/main/js/apps/settings/components/Definition.js b/server/sonar-web/src/main/js/apps/settings/components/Definition.js
index 3d765002dc9..ec64d222cb4 100644
--- a/server/sonar-web/src/main/js/apps/settings/components/Definition.js
+++ b/server/sonar-web/src/main/js/apps/settings/components/Definition.js
@@ -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) }}
/>
diff --git a/server/sonar-web/src/main/js/apps/settings/styles.css b/server/sonar-web/src/main/js/apps/settings/styles.css
index f8e42a325fd..a529c5c5c5f 100644
--- a/server/sonar-web/src/main/js/apps/settings/styles.css
+++ b/server/sonar-web/src/main/js/apps/settings/styles.css
@@ -100,36 +100,6 @@
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;