summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorKishan Gajjar <kig@odoo.com>2018-07-11 13:14:39 +0530
committerAlexandre Kühn <aku@odoo.com>2018-07-23 13:34:33 +0200
commit7fa1525921084cb02cdb0313f6fc166d299c63ab (patch)
treeb074ffb020a690cc6982d75ea624d8c628e5fd03 /addons/web/static/src/js/views/basic/basic_model.js
parent93cacd5e598ee5be8697301b1cf6fd7bf8b8e24c (diff)
[FIX] web: correctly render "font awesome" icons on buttons
Revision on https://github.com/odoo/odoo/commit/9de1bc0 From the commit above, the style of some field binary images are broken. This is due to changes from `<span>` to `<button>`. The style has been altered by the default browser's style, which does the following on Google Chrome: ``` border-color: white; border: 1px solid; padding: 1px 7px 2px; ``` Most browsers set a border and some padding on buttons. This commit fixes the style specifically for "font awesome" icons on buttons, by removing the border and by overwriting the padding. Tested browsers: - Google Chrome 67 - Mozilla Firefox 61 - Safari 11 Task-ID 1864027 Closes #25691
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions