From 0313d915c25a64f7862bdbf15490fc82e082da91 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Thu, 29 Oct 2015 10:02:31 +0100 Subject: [PATCH] [FIX] css: rendering of inline images Bootstrap forces the img-responsive images to be a block. IMHO bootstrap should be killed and burned with fire but them it appears I know nothing (John Snow) about CSS and making things looks nice so they have probably their reason to do so. Anyway, not that I care, let me use inline images for Flupke sake! --- _extensions/odoo/static/mixins.less | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/_extensions/odoo/static/mixins.less b/_extensions/odoo/static/mixins.less index 1888c0d3a..a6e368b48 100644 --- a/_extensions/odoo/static/mixins.less +++ b/_extensions/odoo/static/mixins.less @@ -53,4 +53,12 @@ } .shadow-5 { box-shadow: 0 15px 24px rgba(0, 0, 0, 0.22), 0 19px 76px rgba(0, 0, 0, 0.3); -} \ No newline at end of file +} + +// overwrite bootstrap inline forcing +.img-responsive { + display: inline-block; +} +.img-responsive.center-block { + display: block; +}