diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-01-06 17:33:06 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-01-06 17:33:06 +0100 |
commit | d07ee363941a63ee34719824f72d2e34ff81dda5 (patch) | |
tree | dca45211f4454c05d95459c4cdcf09278f442b43 /server/sonar-web | |
parent | 25d3cdf5bcc9a876b7c9c5a046e30dfd5b46d424 (diff) | |
download | sonarqube-d07ee363941a63ee34719824f72d2e34ff81dda5.tar.gz sonarqube-d07ee363941a63ee34719824f72d2e34ff81dda5.zip |
SONAR-5553 Long values of rule parameters should somehow wrap
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/hbs/coding-rules/rule/coding-rules-rule-parameters.hbs | 8 | ||||
-rw-r--r-- | server/sonar-web/src/main/less/coding-rules.less | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/hbs/coding-rules/rule/coding-rules-rule-parameters.hbs b/server/sonar-web/src/main/hbs/coding-rules/rule/coding-rules-rule-parameters.hbs index f0dcb3d8e11..1cacd684a55 100644 --- a/server/sonar-web/src/main/hbs/coding-rules/rule/coding-rules-rule-parameters.hbs +++ b/server/sonar-web/src/main/hbs/coding-rules/rule/coding-rules-rule-parameters.hbs @@ -8,15 +8,17 @@ {{#if ../../templateKey}} <div class="subtitle"> {{#if defaultValue }} - <span class="value">{{defaultValue}}</span> + <span class="coding-rules-detail-parameter-value">{{defaultValue}}</span> {{else}} {{t 'coding_rules.parameter.empty'}} {{/if}} </div> {{else}} {{#if defaultValue}} - <div class="subtitle">{{t 'coding_rules.parameters.default_value'}} <span - class="value">{{defaultValue}}</span></div> + <div class="subtitle"> + {{t 'coding_rules.parameters.default_value'}}<br> + <span class="coding-rules-detail-parameter-value">{{defaultValue}}</span> + </div> {{/if}} {{/if}} </td> diff --git a/server/sonar-web/src/main/less/coding-rules.less b/server/sonar-web/src/main/less/coding-rules.less index 7ff98d7b18e..d451f514062 100644 --- a/server/sonar-web/src/main/less/coding-rules.less +++ b/server/sonar-web/src/main/less/coding-rules.less @@ -256,6 +256,10 @@ } } +.coding-rules-detail-parameter-value { + word-break: break-all; +} + .coding-rules-detail-parameter-details { display: inline-block; font-size: @baseFontSize; |