diff options
| author | Benjamin Vray <bvr@odoo.com> | 2021-03-04 13:05:12 +0000 |
|---|---|---|
| committer | Benjamin Vray <bvr@odoo.com> | 2021-03-04 13:09:47 +0000 |
| commit | 0bbae314ede2d7112a32954f06a8d541932caac9 (patch) | |
| tree | 8f45fb888758813215c3ec95d606a4fa419a3ede /addons/website/static/src/scss | |
| parent | 7144321c3fd13f83241ae7e4be71a9a4d576a871 (diff) | |
[FIX] website: fix showcase snippet images stretched
Before this commit, if we replaced an icon of the showcase snippet
with an image, this image was streched depending on title size (if too
long and on 2 lines). Its because the align-self default value of a
flex item is strech.
task-2447087
closes odoo/odoo#67234
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/website/static/src/scss')
| -rw-r--r-- | addons/website/static/src/scss/website.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/website/static/src/scss/website.scss b/addons/website/static/src/scss/website.scss index f41501837e2..3f207b988ee 100644 --- a/addons/website/static/src/scss/website.scss +++ b/addons/website/static/src/scss/website.scss @@ -1411,3 +1411,12 @@ $ribbon-padding: 100px; display: none; } } + +// Snippet Showcase +.s_showcase_icon { + // Avoid images stretched depending on title size (when icons + // are images an not Font Awesome icons). Because the default + // value of "align-self" is "strech". We put this code here to + // avoid having to create a new scss file in a stable version. + align-self: flex-start; +} |
