[FIX] mass_mailing: restore background image styles
When importing snippets from `website` to `mass_mailing`, the styles for `.o_bg_img` were not carried over. This makes the image of the `Masonry` snippet size poorly. This duplicates that scss into mass_mailing. task-2856858 Part-of: odoo/odoo#91314
This commit is contained in:
@@ -126,6 +126,35 @@ div.col:not([align]) {
|
||||
}
|
||||
}
|
||||
}
|
||||
// Background Images
|
||||
.oe_img_bg {
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
|
||||
&.o_bg_img_opt_repeat {
|
||||
background-size: auto;
|
||||
background-repeat: repeat;
|
||||
}
|
||||
&.o_bg_img_center {
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
// Compatibility <= 13.0, TODO remove?
|
||||
// -----------------------------------
|
||||
&.o_bg_img_opt_contain {
|
||||
background-size: contain;
|
||||
background-position: center center;
|
||||
}
|
||||
&.o_bg_img_opt_custom {
|
||||
background-size: auto;
|
||||
}
|
||||
&.o_bg_img_opt_repeat_x {
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
&.o_bg_img_opt_repeat_y {
|
||||
background-repeat: repeat-y;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ===== Snippets (specific) =====
|
||||
|
||||
Reference in New Issue
Block a user