Make autoplay text fit inside top bar when translated (#1767)
* Make autoplay fit inside top bar when translated * Lint
This commit is contained in:
parent
35ae762b80
commit
c2c6a55682
|
@ -8,8 +8,12 @@
|
|||
}
|
||||
|
||||
.autoPlayToggle {
|
||||
width: 120px;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 0px;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.VideoRecommendationsTopBar{
|
||||
display:flex;
|
||||
justify-content:space-between;
|
||||
}
|
||||
|
|
|
@ -3,17 +3,19 @@
|
|||
v-if="!hideRecommendedVideos"
|
||||
class="relative watchVideoRecommendations"
|
||||
>
|
||||
<h3>
|
||||
{{ $t("Up Next") }}
|
||||
</h3>
|
||||
<ft-toggle-switch
|
||||
v-if="showAutoplay"
|
||||
class="autoPlayToggle"
|
||||
:label="$t('Video.Autoplay')"
|
||||
:compact="true"
|
||||
:default-value="playNextVideo"
|
||||
@change="updatePlayNextVideo"
|
||||
/>
|
||||
<div class="VideoRecommendationsTopBar">
|
||||
<h3>
|
||||
{{ $t("Up Next") }}
|
||||
</h3>
|
||||
<ft-toggle-switch
|
||||
v-if="showAutoplay"
|
||||
class="autoPlayToggle"
|
||||
:label="$t('Video.Autoplay')"
|
||||
:compact="true"
|
||||
:default-value="playNextVideo"
|
||||
@change="updatePlayNextVideo"
|
||||
/>
|
||||
</div>
|
||||
<ft-list-video
|
||||
v-for="(video, index) in data"
|
||||
:key="index"
|
||||
|
|
Loading…
Reference in New Issue