Skip to content

Commit

Permalink
Merge pull request #560 from GhostManager/hotfix/small-adjustments
Browse files Browse the repository at this point in the history
Evidence Preview Adjustments
  • Loading branch information
chrismaddalena authored Dec 10, 2024
2 parents cd6413e + 48cd34b commit ecfbe1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ <h4 class="icon file-icon">File Contents</h4>
<p>This is a preview of what your evidence file will look like in a report.
It may not look exactly like this (depending on your template's styles),
but it will give you an idea of what to expect.</p>
<p>The width is 6.5" (165.1mm), the default full width of a Word document.</p>
<p>If you have borders enabled for reports, images will include a border with your configured color and width.</p>
<p>Previews also show you what captions will look like with your caption and configured labelling for figures.</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ <h4 class="alert-heading">File Preview Unavailable</h4>
{% endif %}
</div>
{% endif %}
<p class="evidence-caption">{{ report_config.label_figure }} # {{ report_config.prefix_figure }} {{ evidence.caption }}</p>
<p class="evidence-caption">{{ report_config.label_figure }}#{{ report_config.prefix_figure }}{{ evidence.caption }}</p>
{% endwith %}
2 changes: 1 addition & 1 deletion ghostwriter/static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ hr {

.img-evidence {
height: auto;
max-width: 60vw;
max-width: 6.5in;
display: block;
margin-left: auto;
margin-right: auto;
Expand Down

0 comments on commit ecfbe1c

Please sign in to comment.