Skip to content

Commit

Permalink
Make Viewer title h2
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Sep 27, 2022
1 parent c0156cd commit da6a657
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/NcModal/NcModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,11 @@ export default {
<!-- Header -->
<transition name="fade-visibility">
<div class="modal-header">
<div v-if="title.trim() !== ''"
<h2 v-if="title.trim() !== ''"
:id="'modal-title-' + randId"
class="modal-title">
{{ title }}
</div>
</h2>
<div class="icons-menu">
<!-- Play-pause toggle -->
<button v-if="hasNext && enableSlideshow"
Expand Down Expand Up @@ -752,6 +752,7 @@ export default {
text-overflow: ellipsis;
color: #fff;
font-size: $icon-margin;
margin-bottom: 0;
}
// On wider screens the title can be centered
Expand Down

0 comments on commit da6a657

Please sign in to comment.