|
33 | 33 | </div> |
34 | 34 | <div v-else> |
35 | 35 | <h2 class="title">{{this.$store.state.recordData.ID}} Detail</h2> |
36 | | - <section class="cve-accordian"> |
| 36 | + <section class="cve-accordian mb-1"> |
37 | 37 | <div class="message"> |
38 | 38 | <div class="message-header cve-base-light-gray-borders-bg"> |
39 | 39 | <p style="margin-top: auto !important; margin-bottom: auto !important"> |
|
43 | 43 | :aria-expanded="!this.$store.state.showJsonRecord ? 'true' : 'false'" aria-controls="cve-id"> |
44 | 44 | <span class="icon is-small"> |
45 | 45 | <p id="cve-id-alttext" class="is-hidden"> |
46 | | - {{true ? 'collapse' : 'expand'}} |
| 46 | + {{this.$store.state.showJsonRecord ? 'collapse' : 'expand'}} |
47 | 47 | </p> |
48 | 48 | <font-awesome-icon :icon="this.$store.state.showJsonRecord ? 'minus' : 'plus'" |
49 | 49 | aria-hidden="false" focusable="true" aria-labelledby="cve-id-alttext"/> |
50 | 50 | </span> |
51 | 51 | </button> |
52 | 52 | </div> |
53 | | - <div class="message-body pb-0" :class="{'is-hidden': false}" id="cve-id"> |
54 | | - <pre :class="[{'is-hidden': !this.$store.state.showJsonRecord}]" |
55 | | - v-html="$sanitize(JSON.stringify(this.$store.state.recordData, null, 2))"></pre> |
| 53 | + <div class="message-body pb-0" :class="[{'is-hidden': !this.$store.state.showJsonRecord}]" id="cve-json"> |
| 54 | + <pre v-html="$sanitize(JSON.stringify(this.$store.state.recordData, null, 2))"></pre> |
56 | 55 | </div> |
57 | 56 | </div> |
58 | 57 | </section> |
|
101 | 100 | </li> |
102 | 101 | <li v-if="ProductVersion.vendor_version.version_value && ProductVersion.vendor_version.version_value.length > 0 |
103 | 102 | && ProductVersion.vendor_version.version_value[0] !== ''"> |
104 | | - <span class="has-text-weight-bold">Versions:</span> |
| 103 | + <span class="has-text-weight-bold">Versions: </span> |
105 | 104 | <span v-html="$sanitize(ProductVersion.vendor_version.version_value.join(', '))"></span> |
106 | 105 | </li> |
107 | 106 | <li v-if="ProductVersion.vendor_version.version_affected && ProductVersion.vendor_version.version_affected.length > 0"> |
|
0 commit comments