Skip to content

Commit 834541c

Browse files
authored
Merge pull request #375 from Peergos/fix/center-pdf-title
center the filename displayed as the title in the pdf viewer
2 parents 8880379 + e216ec4 commit 834541c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/pdf/pdf.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
<div class="modal-header" style="padding:0">
7-
<h2>PDF viewer: {{ file.getName() }}</h2><span @click="close" tabindex="0" v-on:keyup.enter="close" style="color:black;font-size:3em;font-weight:bold;position:absolute;top:0;right:0.2em;cursor:pointer;">&times;</span>
7+
<center><h2>{{ file.getName() }}</h2></center><span @click="close" tabindex="0" v-on:keyup.enter="close" style="color:black;font-size:3em;font-weight:bold;position:absolute;top:0;right:0.2em;cursor:pointer;">&times;</span>
88
</div>
99

1010
<div class="modal-body" style="margin:0;padding:0;display:flex;flex-grow:1;">

0 commit comments

Comments
 (0)