diff --git a/docs-web/src/main/webapp/src/app/docs/directive/AddSpaceBetween.js b/docs-web/src/main/webapp/src/app/docs/directive/AddSpaceBetween.js new file mode 100644 index 00000000..b5c4e787 --- /dev/null +++ b/docs-web/src/main/webapp/src/app/docs/directive/AddSpaceBetween.js @@ -0,0 +1,12 @@ +'use strict'; + +/** + * Add space between element directive. + */ +angular.module('docs').directive('addSpaceBetween', function () { + return function (scope, element) { + if(!scope.$last) { + element.after(' '); + } + } +}); \ No newline at end of file diff --git a/docs-web/src/main/webapp/src/index.html b/docs-web/src/main/webapp/src/index.html index 1684bb2f..1accf21a 100644 --- a/docs-web/src/main/webapp/src/index.html +++ b/docs-web/src/main/webapp/src/index.html @@ -106,6 +106,7 @@ + diff --git a/docs-web/src/main/webapp/src/partial/docs/document.html b/docs-web/src/main/webapp/src/partial/docs/document.html index 3bcf5a38..416d5926 100644 --- a/docs-web/src/main/webapp/src/partial/docs/document.html +++ b/docs-web/src/main/webapp/src/partial/docs/document.html @@ -258,7 +258,7 @@
- + {{ tag.name }}
diff --git a/docs-web/src/main/webapp/src/style/main.less b/docs-web/src/main/webapp/src/style/main.less index befba00b..46c696cf 100644 --- a/docs-web/src/main/webapp/src/style/main.less +++ b/docs-web/src/main/webapp/src/style/main.less @@ -120,6 +120,10 @@ ul.tag-tree { cursor: pointer; td { + .tags { + line-height: 190%; + } + .label { margin-left: 5px; }