Merge pull request #1241 from nextcloud/fix/hide-empty-face-title

This commit is contained in:
Marcel Klehr 2022-09-14 15:16:32 +02:00 committed by GitHub
commit ac8c298b2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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>
@ -157,6 +157,7 @@ export default {
}
&__second-line {
margin-top: 6px;
color: var(--color-text-maxcontrast);
}