Skip to content
Snippets Groups Projects
Commit b54b34e6 authored by Chintan Panchal (can)'s avatar Chintan Panchal (can) Committed by utag-odoo
Browse files

[FIX] web_editor: fix video size in grid mode


Before this commit, `o_grid_item_image` was not handling videos but image-only.

This commit adds support for `.media_iframe_video` in addition to `img` to
ensure consistent styling across both images and videos within the grid items.

task-3103775

closes odoo/odoo#121266

Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent c76ff023
Branches
Tags
No related merge requests found
......@@ -58,7 +58,7 @@
}
.o_grid_item_image {
> img {
> img, > .media_iframe_video {
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment