Skip to content

Commit

Permalink
Merge pull request #3304 from nextcloud/fix/Modal-a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Sep 27, 2022
2 parents aa6078c + da6a657 commit d57e90c
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 d57e90c

Please sign in to comment.