[FIX] web_editor: add a space between the video option's switches

Since the redesign of the switches made at [1], there was no space
between the switches anymore.

[1]: https://github.com/odoo/odoo/commit/e717ccd353fbf03fb0640dee446cb72dcc58b125

task-2723819

closes odoo/odoo#83532

X-original-commit: 677d07e0529cd4087bd1e3c2bac8ea5c1133ca89
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Benjamin Vray
2022-01-28 09:52:57 +00:00
committed by qsm-odoo
parent 94bba79a2e
commit 368cd051eb
+7 -7
View File
@@ -342,29 +342,29 @@
</div>
<div class="o_video_dialog_options d-none mt-4">
<div class="o_youtube_option o_vimeo_option o_dailymotion_option">
<label class="o_switch mb0">
<label class="o_switch">
<input id="o_video_autoplay" type="checkbox"/><span/>
<span style="margin-right: 8px;">Autoplay</span>
<span class="small text-muted" style="margin-left: auto;">Videos are muted when autoplay is enabled</span>
</label>
</div>
<div class="o_youtube_option o_vimeo_option">
<label class="o_switch mb0"><input id="o_video_loop" type="checkbox"/><span/>Loop</label>
<label class="o_switch"><input id="o_video_loop" type="checkbox"/><span/>Loop</label>
</div>
<div class="o_youtube_option o_dailymotion_option">
<label class="o_switch mb0"><input id="o_video_hide_controls" type="checkbox"/><span/>Hide player controls</label>
<label class="o_switch"><input id="o_video_hide_controls" type="checkbox"/><span/>Hide player controls</label>
</div>
<div class="o_youtube_option">
<label class="o_switch mb0"><input id="o_video_hide_fullscreen" type="checkbox"/><span/>Hide fullscreen button</label>
<label class="o_switch"><input id="o_video_hide_fullscreen" type="checkbox"/><span/>Hide fullscreen button</label>
</div>
<div class="o_youtube_option">
<label class="o_switch mb0"><input id="o_video_hide_yt_logo" type="checkbox"/><span/>Hide Youtube logo</label>
<label class="o_switch"><input id="o_video_hide_yt_logo" type="checkbox"/><span/>Hide Youtube logo</label>
</div>
<div class="o_dailymotion_option">
<label class="o_switch mb0"><input id="o_video_hide_dm_logo" type="checkbox"/><span/>Hide Dailymotion logo</label>
<label class="o_switch"><input id="o_video_hide_dm_logo" type="checkbox"/><span/>Hide Dailymotion logo</label>
</div>
<div class="o_dailymotion_option">
<label class="o_switch mb0"><input id="o_video_hide_dm_share" type="checkbox"/><span/>Hide sharing button</label>
<label class="o_switch"><input id="o_video_hide_dm_share" type="checkbox"/><span/>Hide sharing button</label>
</div>
</div>
<t t-if="widget._vimeoPreviewIds || widget._youtubePreviewIds">