Skip to content

Commit

Permalink
Merge pull request #48 from Rockerby/main
Browse files Browse the repository at this point in the history
Add in directives to the title in the editor box - i46
  • Loading branch information
Matthew-Wise authored Oct 12, 2024
2 parents 2ebf614 + 5397c0f commit 2c4239e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.csp-subtitle {
font-size: 14px;
font-weight: normal;
}
</style>

<div ng-controller="cspManagerEditController as vm">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

<div ng-repeat="(sourceIndex, source) in vm.definition.Sources" class="mb2">
<button type="button" class="csp-accordion-btn" ng-class="{'active': vm.expanded.includes(sourceIndex) ? true : false}" ng-click="vm.expandAccordion($event, sourceIndex)">
Source: {{source.Source}}
<span>Source: {{source.Source}}<br/>
<span class="csp-subtitle"><b>Directives:</b> <span ng-repeat="(dIndex, directive) in source.Directives">{{directive}}{{$last ? '' : ', '}}</span></span>
</span>
<span class="ml-auto">
<uui-icon-registry-essential>
<uui-action-bar>
Expand Down Expand Up @@ -39,7 +41,7 @@
<div class="control-group umb-control-group">
<div class="umb-el-wrap">
<div class="control-header">
<label class="control-label">Directives Set</label>
<label class="control-label">Directive Set</label>
</div>
<div class="controls" style="
display: grid;
Expand Down

0 comments on commit 2c4239e

Please sign in to comment.