Skip to content

Commit

Permalink
fix #300 Améliorer l'affichage du modèles de propriétés sur la page d…
Browse files Browse the repository at this point in the history
…e module
  • Loading branch information
Bhoye05 committed Oct 10, 2019
1 parent 47b08d5 commit c2e521f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions src/app/module/module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

.module-row-for-properties {
width: 100%;
overflow: auto;
}

.module-properties-headers, .module-properties-row {
Expand Down Expand Up @@ -36,6 +37,7 @@
font-weight: bold;
}

.module-annotation-container{
.module-property-annotation-container {
overflow: auto;
}
margin-right: 10px;
}
6 changes: 3 additions & 3 deletions src/app/module/module.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ <h4>{{ 'module.propertiesList' | translate }}</h4>
<div flex layout="row" class="module-property-annotation">
<div flex="20" ng-if="property.required"><span class="module-property-annotation-name">@required</span></div>
<div flex="20" ng-if="property.password"><span class="module-property-annotation-name">@password</span></div>
<div flex="20" ng-if="property.defaultValue" class="module-annotation-container"><span class="module-property-annotation-name">@default</span>&nbsp;{{ property.defaultValue }}</div>
<div flex="20" ng-if="property.pattern" class="module-annotation-container"><span class="module-property-annotation-name">@pattern</span>&nbsp;{{ property.pattern }}</div>
<div flex="20" ng-if="property.comment" class="module-annotation-container"><span class="module-property-annotation-name">@comment</span>&nbsp;{{ property.comment }}</div>
<div flex="20" ng-if="property.defaultValue" class="module-property-annotation-container"><span class="module-property-annotation-name">@default</span>&nbsp;{{ property.defaultValue }}</div>
<div flex="20" ng-if="property.pattern" class="module-property-annotation-container"><span class="module-property-annotation-name">@pattern</span>&nbsp;{{ property.pattern }}</div>
<div flex="20" ng-if="property.comment" class="module-property-annotation-container"><span class="module-property-annotation-name">@comment</span>&nbsp;{{ property.comment }}</div>
</div>
</div>
</div>
Expand Down

0 comments on commit c2e521f

Please sign in to comment.