Skip to content

Commit 50c07a9

Browse files
author
Peter Wagstaff
committed
Merge branch 'related-controls-formatting' into 'main'
nicer related controls formatting See merge request sl5tf/control-overlays-selector!2
2 parents 31619f9 + 19c3a36 commit 50c07a9

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

index.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,16 @@
655655
font-size: 0.85rem;
656656
color: #6b7280;
657657
}
658+
/* --------------------
659+
Related Controls
660+
--------------------- */
661+
.related-control-tag {
662+
cursor: pointer;
663+
color: #1e40af;
664+
}
665+
.related-control-tag:hover {
666+
text-decoration: underline;
667+
}
658668
/* --------------------
659669
Media Queries
660670
--------------------- */
@@ -1029,7 +1039,7 @@ <h2 class="toggles-title">Additional Security Assumptions</h2>
10291039
<div class="related-controls">
10301040
<h4>Related Controls:</h4>
10311041
<div class="related-controls-list">
1032-
${control.relatedControls.map(rc => `<span class="related-control-tag" onclick="showControlModal('${rc}')">${rc}</span>`).join('')}
1042+
${control.relatedControls.map(rc => `<span class="related-control-tag" onclick="showControlModal('${rc}')">${rc}</span>`).join(' ')}
10331043
</div>
10341044
</div>
10351045
` : ''}

0 commit comments

Comments
 (0)