diff options
| author | Martin Trigaux <mat@odoo.com> | 2019-08-07 10:09:09 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2019-08-13 14:12:17 +0000 |
| commit | bdec8efabf4b77cf75aec83cc96d01384f6c978b (patch) | |
| tree | 748adc84372b1541a3d079b207147cba7dac3be0 /addons/web/static/src/scss/form_view.scss | |
| parent | 2347b84c66b1d6519f5be4689082da22bfc624f6 (diff) | |
[ADD] web: add the language code in the translation widget
The planet icon is not very clear for translation feature.
Replace it with the code of the current language.
Task-id: 2028152
Diffstat (limited to 'addons/web/static/src/scss/form_view.scss')
| -rw-r--r-- | addons/web/static/src/scss/form_view.scss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web/static/src/scss/form_view.scss b/addons/web/static/src/scss/form_view.scss index 51920df3510..f01fedbbab1 100644 --- a/addons/web/static/src/scss/form_view.scss +++ b/addons/web/static/src/scss/form_view.scss @@ -578,10 +578,11 @@ .o_field_translate { padding: 0; cursor: pointer; - width: 12px !important; + width: 35px !important; vertical-align: top; &::before { // seems to be useful for some old browser position: relative; + content: attr(data-code); } } |
