diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-05-05 17:33:49 +0200 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-05-05 17:33:55 +0200 |
commit | 92b2757f6fadeef2a288bc20f2bd2a9feb52ec52 (patch) | |
tree | 95823082eda04d70ae94ed523eaf92ac01dfd777 | |
parent | 517b93aed563b5f3c68c06c70c9feeefba0bb07d (diff) | |
download | sonarqube-92b2757f6fadeef2a288bc20f2bd2a9feb52ec52.tar.gz sonarqube-92b2757f6fadeef2a288bc20f2bd2a9feb52ec52.zip |
SONAR-5250 Fix display of ul/li in API descriptions
-rw-r--r-- | sonar-server/src/main/hbs/api-documentation/api-documentation-action.hbs | 2 | ||||
-rw-r--r-- | sonar-server/src/main/less/api-documentation.less | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sonar-server/src/main/hbs/api-documentation/api-documentation-action.hbs b/sonar-server/src/main/hbs/api-documentation/api-documentation-action.hbs index dba6f1b05d9..0fa9d3d0f3f 100644 --- a/sonar-server/src/main/hbs/api-documentation/api-documentation-action.hbs +++ b/sonar-server/src/main/hbs/api-documentation/api-documentation-action.hbs @@ -21,7 +21,7 @@ {{#if possibleValues}} <p> <em>Possible values:</em> - <ul> + <ul class="possible-values"> {{#each possibleValues}} <li><code>{{this}}</code></li> {{/each}} diff --git a/sonar-server/src/main/less/api-documentation.less b/sonar-server/src/main/less/api-documentation.less index 9c42d26a0d7..8ca4c3b4747 100644 --- a/sonar-server/src/main/less/api-documentation.less +++ b/sonar-server/src/main/less/api-documentation.less @@ -96,11 +96,19 @@ margin: 5px; vertical-align: top; - ul { + ul { + li { + list-style: square; + margin-left: 2em; + } + } + + ul.possible-values { display: inline; li { display: inline; + margin: 0; &:before { content: ', ' |