photo: fix square live photo

pull/231/head
Varun Patil 2022-11-22 07:14:16 -08:00
parent 71323da83a
commit 578703768b
2 changed files with 4 additions and 3 deletions

View File

@ -87,7 +87,7 @@
</template> </template>
</NcActionButton> </NcActionButton>
<NcActionButton <NcActionButton
v-if="currentPhoto.liveid" v-if="currentPhoto?.liveid"
:aria-label="t('memories', 'Download Video')" :aria-label="t('memories', 'Download Video')"
@click="downloadCurrentLiveVideo" @click="downloadCurrentLiveVideo"
:close-after-click="true" :close-after-click="true"

View File

@ -397,12 +397,13 @@ div.img-outer {
} }
} }
> video, > video {
> .overlay {
pointer-events: none; pointer-events: none;
object-fit: cover;
} }
> .overlay { > .overlay {
pointer-events: none;
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;