Skip to content

Commit 94bc1c7

Browse files
authored
Merge pull request #256 from CVEProject/srl-253
Fix links to anchors in CNA Rules page
2 parents bc6194b + e8b1789 commit 94bc1c7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/views/ResourcesSupport/AllResources/CNARules.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</div>
77
<div class="column is-8-desktop cve-main-column-content-width is-12-tablet">
88
<main id="cve-main-page-content" role="main">
9-
<h1 class="title">CVE Numbering Authority (CNA) Rules</h1>
9+
<h1 class="title cve-heading-top-spacing">CVE Numbering Authority (CNA) Rules</h1>
1010
<div id="cve-versionInformation">
1111
<span class="has-text-weight-bold">Document Version: </span>
1212
<span>{{versionNum}}</span><br>
@@ -20,15 +20,15 @@
2020
<div class="content">
2121
<ol class="ml-0">
2222
<li v-for="(section, index) of cnaRulesSections" :key="index">
23-
<h2 class="title" :id="section.sectionId">
23+
<h2 class="title cve-heading-top-spacing" :id="section.sectionId">
2424
{{ section.sectionTitle }}
2525
</h2>
2626
<p v-for="(para, index) of section.sectionParagraphs"
2727
v-html="$sanitize(para,{allowedTags: $sanitize.defaults.allowedTags.concat([ 'img' ])})" :key="index"></p>
2828
<!-- Sub section -->
2929
<ol class="ml-0">
3030
<li v-for="(subSection, index) of section.subSections" :key="index">
31-
<h3 class="title" :id="subSection.subSectionId">
31+
<h3 class="title cve-heading-top-spacing" :id="subSection.subSectionId">
3232
{{ subSection.subSectionTitle }}
3333
</h3>
3434
<p v-for="(para, index) of subSection.subSectionParagraphs"
@@ -39,20 +39,20 @@
3939
</ol> <!-- end page section -->
4040
<ul class="ml-0 cve-list-no-bullet">
4141
<li v-for="(section, index) of cnaRulesAppendices" :key="index">
42-
<h2 class="title" :id="section.sectionId">
42+
<h2 class="title cve-heading-top-spacing" :id="section.sectionId">
4343
{{ section.sectionTitle }}
4444
</h2>
4545
<p v-for="(para, index) of section.sectionParagraphs" v-html="$sanitize(para)" :key="index"></p>
4646
<!-- Sub section -->
4747
<ul class="ml-0 cve-list-no-bullet">
4848
<li v-for="(subSection, index) of section.subSections" :key="index">
49-
<h3 class="title" :id="subSection.subSectionId">
49+
<h3 class="title cve-heading-top-spacing" :id="subSection.subSectionId">
5050
{{ subSection.subSectionTitle }}
5151
</h3>
5252
<p v-for="(para, index) of subSection.subSectionParagraphs" v-html="$sanitize(para)" :key="index"></p>
5353
<ul class="ml-0 cve-list-no-bullet"> <!-- Sub Sub section -->
5454
<li v-for="(subSubSection, index) of subSection.subSubSections" :key="index">
55-
<h4 class="title" :id="subSubSection.subSubSectionId">
55+
<h4 class="title cve-heading-top-spacing" :id="subSubSection.subSubSectionId">
5656
{{ subSubSection.subSubSectionTitle }}
5757
</h4>
5858
<p v-for="(para, index) of subSubSection.subSubSectionParagraphs" v-html="$sanitize(para)" :key="index"></p>

0 commit comments

Comments
 (0)