summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-01-15 17:43:19 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-01-15 17:43:28 +0100
commit920235c5cbcbccfd92eaeb0f50d716b2696e939a (patch)
treec6a616d53a3585add5743b5bbe2c2b55cd1a772c
parentce324658265a653bb036ece344334a869b4782ac (diff)
downloadsonarqube-920235c5cbcbccfd92eaeb0f50d716b2696e939a.tar.gz
sonarqube-920235c5cbcbccfd92eaeb0f50d716b2696e939a.zip
fix display of rule creation form
-rw-r--r--server/sonar-web/src/main/js/apps/coding-rules/templates/rule/coding-rules-custom-rule-creation.hbs2
-rw-r--r--server/sonar-web/src/main/less/pages/coding-rules.less2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/templates/rule/coding-rules-custom-rule-creation.hbs b/server/sonar-web/src/main/js/apps/coding-rules/templates/rule/coding-rules-custom-rule-creation.hbs
index dcb9cd973a9..93f2a770390 100644
--- a/server/sonar-web/src/main/js/apps/coding-rules/templates/rule/coding-rules-custom-rule-creation.hbs
+++ b/server/sonar-web/src/main/js/apps/coding-rules/templates/rule/coding-rules-custom-rule-creation.hbs
@@ -66,7 +66,7 @@
{{else}}
<input type="text" name="{{key}}" value="{{value}}" placeholder="{{defaultValue}}"/>
{{/eq}}
- <div class="note">{{htmlDesc}}</div>
+ <div class="note">{{{htmlDesc}}}</div>
{{#if extra}}
<div class="note">{{extra}}</div>
{{/if}}
diff --git a/server/sonar-web/src/main/less/pages/coding-rules.less b/server/sonar-web/src/main/less/pages/coding-rules.less
index fdb672732d7..83d7aad6231 100644
--- a/server/sonar-web/src/main/less/pages/coding-rules.less
+++ b/server/sonar-web/src/main/less/pages/coding-rules.less
@@ -385,7 +385,7 @@
}
input.coding-rules-name-key {
- width: 30em;
+ width: 100%;
}
textarea.coding-rules-markdown-description {