mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
[ROMM-2835] Fix appearance of chevron screenshot buttons
This commit is contained in:
@@ -70,11 +70,7 @@ const carouselHeight = computed(() => {
|
||||
:height="carouselHeight"
|
||||
>
|
||||
<template #prev="{ props: prevProps }">
|
||||
<v-btn
|
||||
icon="mdi-chevron-left"
|
||||
class="translucent"
|
||||
@click="prevProps.onClick"
|
||||
/>
|
||||
<v-btn icon="mdi-chevron-left" @click="prevProps.onClick" />
|
||||
</template>
|
||||
<v-carousel-item
|
||||
v-if="youtubeVideoId"
|
||||
@@ -87,7 +83,15 @@ const carouselHeight = computed(() => {
|
||||
:src="`${heartbeat.FRONTEND.YOUTUBE_BASE_URL}/embed/${youtubeVideoId}`"
|
||||
title="YouTube video player"
|
||||
frameborder="0"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||
allow="
|
||||
accelerometer;
|
||||
autoplay;
|
||||
clipboard-write;
|
||||
encrypted-media;
|
||||
gyroscope;
|
||||
picture-in-picture;
|
||||
web-share;
|
||||
"
|
||||
referrerpolicy="strict-origin-when-cross-origin"
|
||||
allowfullscreen
|
||||
/>
|
||||
@@ -120,11 +124,7 @@ const carouselHeight = computed(() => {
|
||||
/>
|
||||
</template>
|
||||
<template #next="{ props: nextProps }">
|
||||
<v-btn
|
||||
icon="mdi-chevron-right"
|
||||
class="translucent"
|
||||
@click="nextProps.onClick"
|
||||
/>
|
||||
<v-btn icon="mdi-chevron-right" @click="nextProps.onClick" />
|
||||
</template>
|
||||
</v-carousel>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user