This commit restores the possibility to control the height of the image gallery snippet. This was indeed possible in <= 11.0 for all snippets but it was removed in 12.0 as controlling the height via inner paddings seemed enough and better (as responsive). For the image gallery snippet however, this was a big regression as the height is forced to 70% of the current screen height on drop and the images inside are displayed depending on that forced height. Trying to control via paddings was not leading to the wanted effect. This restores the possibility in 14.0 as 12.0 and 13.0 are now deprecated. This is following a customer issue where not having the ability to control the height is actually confusing as the user edits its website across different screens and the height is forced to 70% height of the screen used at the time of edition. With an height input in the panel, the confusion is gone. Note: this also introduces a `forceStyle` parameter for the `selectStyle` option to be able to force the inline style a widget controls. Indeed, without it, the system is "smart" and tries not to force inline style when it is not needed (if you try to force red on something that is naturally red (thanks to a CSS rule for example), it won't be forced). Here, this was leading to an issue when trying to set the height: - Current height is 700px - There is some code that forces a min-height on all carousel items so that they are the same height. As the gallery image dimensions depend on the block forced height (this is how the snippet work), the forced min-height are related to that forced height (something like 680px). - You focus the height input and type 800px - The same code forces new min-height on all carousel item (something like 780px). - You un-focus the height input, the system tries to re-set 800px (which is already set)... it ends up removing it as it thinks that setting that height is not needed as the snippet is now "naturally" 800px tall thanks to the carousel items' min-heights. opw-2838774 closes odoo/odoo#104068 X-original-commit: d4d0da320d42093e720c7d440cf6611249c0295a Signed-off-by: Romain Derie (rde) <rde@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Odoo Website Builder
Get an awesome and free website, easily customizable with the Odoo website builder.
Create enterprise grade website with our super easy builder. Use finely designed building blocks and edit everything inline.
Benefit from out-of-the-box business features; e-Commerce, events, blogs, jobs announces, customer references, call-to-actions, etc.
Edit Anything Inline
Create beautiful websites with no technical knowledge. Odoo's unique 'edit inline' approach makes website creation surprisingly easy. No more complex backend; just click anywhere to change any content.
"Want to change the price of a product? or put it in bold? Want to change a blog title?" Just click and change. What you see is what you get. Really.
Awesome. Astonishingly Beautiful.
Odoo's building blocks allow to design modern websites that are not possible with traditional WYSIWYG page editors.
Whether it's for products descriptions, blogs or static pages, you don't need to be a professional designer to create clean contents. Just drag and drop and customize predefined building blocks.
Enterprise-Ready, out-of-the-box
Activate ready-to-use enterprise features in just a click; e-commerce, call-to-actions, jobs announces, events, customer references, blogs, etc.
Traditional eCommerce and CMS have poorly designed backends as it's not their core focus. With the Odoo integration, you benefit from the best management software to follow-up on your orders, your jobs applicants, your leads, etc.
A Great Mobile Experience
Get a mobile friendly website thanks to our responsive design based on bootstrap. All your pages adapt automatically to the screen size. (mobile phones, tablets, desktop) You don't have to worry about mobile contents, it works by default.
SEO tools at your finger tips
The Promote tool suggests keywords according to Google most searched terms. Search Engine Optimization tools are ready to use, with no configuration required.
Google Analytics tracks your shopping cart events by default. Sitemap and structured content are created automatically for Google indexation.
Multi-Languages Made Easy
Get your website translated in multiple languages with no effort. Odoo proposes and propagates translations automatically across pages, following what you edit on the master page.
Designer-Friendly Templates
Templates are awesome and easy to design. You don't need to develop to create new pages, themes or building blocks. We use a clean HTML structure, a bootstrap CSS.
Customize every page on the fly with the integrated template editor. Distribute your work easily as an Odoo module.
Fluid Grid Layouting
Design perfect pages by drag and dropping building blocks. Move and scale them to fit the layout you are looking for.
Building blocks are based on a responsive, mobile friendly fluid grid system that appropriately scales up to 12 columns as the device or viewport size increases.
Professional Themes
Design a custom theme or reuse pre-defined themes to customize the look and feel of your website.
Test new color scheme easily; you can change your theme at any time in just a click.
Integrated With Odoo Apps
e-Commerce
Promote products, sell online, optimize visitors' shopping experience.
Blogs
Write news, attract new visitors, build customer loyalty.
Online Events
Schedule, organize, promote or sell events online; conferences, trainings, webinars, etc.