Skip to content

Commit 576b7ea

Browse files
committed
Fix spacing for VT and config card headers
1 parent edea98a commit 576b7ea

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

web/templates/analysis/generic/_virustotal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% if file.virustotal and not file.virustotal.error == True %}
2-
<div class="card bg-dark border-secondary mb-4">
2+
<div class="card bg-dark border-secondary mx-2 mb-4">
33
<div class="card-header border-secondary d-flex justify-content-between align-items-center">
44
<h5 class="mb-0 text-white">
55
<i class="fas fa-shield-virus me-2 text-danger"></i> VirusTotal

web/templates/analysis/overview/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h5 class="mb-0 text-white"><i class="fas fa-cogs me-2 text-danger"></i> Malware
1515
{% for config_block in analysis.malware_conf %}
1616
{% for family, config in config_block.items %}
1717
{% if family|slice:":1" != "_" %}
18-
<div class="card bg-dark border-bottom border-secondary rounded-0">
18+
<div class="card bg-dark border-bottom border-secondary m-3">
1919
<div class="card-header p-0" id="heading{{family}}">
2020
<h2 class="mb-0">
2121
<button class="btn btn-block text-start p-3 d-flex align-items-center justify-content-between text-decoration-none shadow-none" type="button" data-bs-toggle="collapse" data-bs-target="#{{family}}_config" aria-expanded="true" aria-controls="{{family}}_config">
@@ -24,7 +24,6 @@ <h2 class="mb-0">
2424
{% if analysis.info.has_cents_rules %}
2525
<a class="btn btn-sm btn-outline-info me-3" href="{% url "filereport" analysis.info.id "cents" %}"><i class="fas fa-download me-1"></i> CENTS Rules</a>
2626
{% endif %}
27-
<i class="fas fa-chevron-down text-white-50"></i>
2827
</div>
2928
</button>
3029
</h2>

0 commit comments

Comments
 (0)