Merge pull request #1001 from dod-ccpo/styling-fixes

Styling fixes
This commit is contained in:
leigh-mil 2019-08-06 12:07:48 -04:00 committed by GitHub
commit f259024509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 9 deletions

View File

@ -46,7 +46,6 @@
margin: 0; margin: 0;
li { li {
list-style-type: none;
font-weight: $font-bold; font-weight: $font-bold;
border-bottom: 1px solid $color-gray-lightest; border-bottom: 1px solid $color-gray-lightest;
margin: 0; margin: 0;

View File

@ -55,15 +55,18 @@
<span>{{ "portfolios.applications.team_text" | translate }} ({{ application.members | length }})</span> <span>{{ "portfolios.applications.team_text" | translate }} ({{ application.members | length }})</span>
</a> </a>
<div class='separator'></div> <div class='separator'></div>
<a class='icon-link triangle-box' v-on:click="toggleSection('{{ section_name }}')"> {% set has_environments = 0 < (application.environments|length) %}
<a class='icon-link triangle-box' v-on:click="toggleSection('{{ section_name }}')" disabled="{{ not has_environments }}">
<span>Environments ({{ application.environments|length }})</span> <span>Environments ({{ application.environments|length }})</span>
<span v-if="selectedSection === '{{ section_name }}'"> {% if has_environments %}
{{ Icon('caret_up') }} <span v-if="selectedSection === '{{ section_name }}'">
</span> {{ Icon('caret_up') }}
<span v-else> </span>
{{ Icon('caret_down') }} <span v-else>
</span> {{ Icon('caret_down') }}
<div class="triangle-up" v-if="selectedSection === '{{ section_name }}'"></div> </span>
<div class="triangle-up" v-if="selectedSection === '{{ section_name }}'"></div>
{% endif %}
</a> </a>
</div> </div>
</div> </div>