Skip to content

Commit b5f29c4

Browse files
#40 fix accordian icon and move <pre> block into <section> block
1 parent 09a778f commit b5f29c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/views/CVERecord.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<p id="cve-id-alttext" class="is-hidden">
4343
{{true ? 'collapse' : 'expand'}}
4444
</p>
45-
<font-awesome-icon :icon="true ? 'plus' : 'minus'"
45+
<font-awesome-icon :icon="showRecord ? 'minus' : 'plus'"
4646
aria-hidden="false" focusable="true" aria-labelledby="cve-id-alttext"/>
4747
</span>
4848
</button>
@@ -53,8 +53,8 @@
5353
</div>
5454
</div>
5555
</div>
56+
<pre :class="[{'is-hidden': !showRecord}]" v-html="$sanitize(JSON.stringify(this.$store.state.recordData, null, 2))"></pre>
5657
</section>
57-
<pre :class="[{'is-hidden': !showRecord}]" v-html="$sanitize(JSON.stringify(this.$store.state.recordData, null, 2))"></pre>
5858
<div class="cve-scrollx-table-container">
5959
<table class="table is-striped is-hoverable cve-border-dark-blue">
6060
<caption class="is-hidden">{{this.$store.state.recordData.ID}} Detail</caption>

0 commit comments

Comments
 (0)