Skip to content

Commit

Permalink
Merge pull request #1241 from nextcloud/fix/hide-empty-face-title
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelklehr authored Sep 14, 2022
2 parents 7cad5e8 + 0d42e71 commit ac8c298
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions js/photos-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/photos-main.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/photos-src_views_Faces_vue.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/photos-src_views_Faces_vue.js.map

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions src/components/FaceCover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
:style="coverDimensions">
</div>
<div class="face-cover__details">
<div class="face-cover__details__first-line">
<h2 :class="{'face-cover__details__name': true, 'hidden-visually': baseName.match(/^[0-9]+$/)}">
<div v-if="!baseName.match(/^[0-9]+$/)" class="face-cover__details__first-line">
<h2 class="face-cover__details__name">
{{ baseName }}
</h2>
</div>
Expand Down Expand Up @@ -157,6 +157,7 @@ export default {
}

&__second-line {
margin-top: 6px;
color: var(--color-text-maxcontrast);
}

Expand Down

0 comments on commit ac8c298

Please sign in to comment.