Skip to content

Commit 52b42bb

Browse files
committed
test 5/5 changes
1 parent f797f7b commit 52b42bb

6 files changed

Lines changed: 286 additions & 283 deletions

File tree

src/assets/data/navigation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
"label": "Active ADPs"
264264
},
265265
"SADP Pilot": {
266-
"anchorId": "SADP Pilot",
266+
"anchorId": "SadpPilot",
267267
"label": "SADP Pilot"
268268
},
269269
"Updates": {

src/assets/style/globals.scss

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,34 @@
1212

1313
/* Columns customizations start here */
1414

15-
@media only screen and (min-width: $desktop) {
15+
// The following is applicable only for the triple boxes in the CVEServices page
16+
// to keep the header heights consistent between the 3 boxes. The other related
17+
// selector is below (cvesrvs-equal-hdr). Both have (0, 2, 0) specificity, so
18+
// the one with the more restrictive width (>= 800px) has to follow this one.
19+
// It's the height of the middle box in the triple that we're basing the height
20+
// on.
21+
22+
@media only screen and (min-width: $tablet) {
23+
.cvesrvs-equal-hdr .cve-topicbox-header {
24+
min-height: 4.5lh;
25+
}
26+
}
27+
28+
// Desktop starts at 1024px, and we used to conditionalize on that width;
29+
// however, if the width decreased below desktop the content would expand
30+
// and some formatting wouldn't look right. If we are restricting to 800px
31+
// total width for the main column content, then we should keep the restriction
32+
// down to what we're restricting the width to, which is 800px.
33+
34+
@media only screen and (min-width: 800px) {
1635
.cve-main-column-content-width {
1736
max-width: 800px;
1837
min-width: 800px;
1938
}
39+
40+
.cvesrvs-equal-hdr .cve-topicbox-header {
41+
min-height: 3.5lh;
42+
}
2043
}
2144

2245
.column {

src/components/AdpVulnerabilityEnrichment.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div :id="`${organizationId}-panel`" v-if="usecveRecordStore.accordionState[organizationId]"
2727
class="pl-3 pr-3 pt-2 pb-5 cve-container-accordion-panel">
2828
<div>
29-
<p v-if="dateUpdated.length > 0 && isCna() && !isSadp()">
29+
<p v-if="dateUpdated.length > 0 && isCna()">
3030
<span class="has-text-weight-semibold">Updated: </span>
3131
<time>{{dateUpdated}}</time>
3232
</p>
@@ -98,12 +98,6 @@
9898
<time>{{cveFieldList?.datePublishedCveMetadata}}</time>
9999
</span>
100100
</div>
101-
<div v-if="cveFieldList?.dateUpdatedCveMetadata.length > 0" class="level-item">
102-
<span>
103-
<span class="has-text-weight-semibold">Updated: </span>
104-
<time>{{cveFieldList?.dateUpdatedCveMetadata}}</time>
105-
</span>
106-
</div>
107101
</div>
108102
</nav>
109103
<nav v-if="cveFieldList?.title.length > 0" id="cve-record-title-container" class="level mb-0">

src/components/OnPageSidebar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<aside class="menu cve-sidebar-menu mt-3" :class="isNavSidebarHiddenTouch ? 'is-hidden-touch' : ''">
33
<p class="menu-label cve-capitalize-first-letter">On this page</p>
4-
<ul class="menu-list cve-capitalize-first-letter">
4+
<ul class="menu-list">
55
<li v-for="(submenuObj, submenuLabel) in nav.submenu" :key="submenuObj.key">
66
<span class="is-flex" style="justify-content: space-between; width: inherit">
77
<router-link

src/stores/partners.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export const usePartnerStore = defineStore('partner', () => {
5555
async function initialize() {
5656

5757
populatePartnerCounts();
58-
await populateUuid2LongNameMap();
5958
createShort2FullNameMap();
59+
await populateUuid2LongNameMap();
6060
}
6161

6262
function populatePartnerCounts() {

0 commit comments

Comments
 (0)