diff options
| author | Pierre Paridans <app@odoo.com> | 2019-04-18 12:40:33 +0000 |
|---|---|---|
| committer | Pierre Paridans <app@odoo.com> | 2019-05-23 13:12:58 +0000 |
| commit | 627fd7724813a580ecac566c3972d7653df36588 (patch) | |
| tree | d7c330b96bd2532c42f1c37a26257cbc4095b968 /addons/mail/static/src/xml/thread.xml | |
| parent | 71a2d7c06a6142bfe3e967aa8ff60552e24eb0c1 (diff) | |
[FIX] mail: DocumentViewer's buttons alignment on mobile
The action buttons in the document viewer were badly aligned on small
screens, and specifically when moving to multiple lines to fit on the
viewport.
This commit adjusts the positionning and margins between those buttons
to stay consistent on every screens size (smallest to biggest).
Task ID: 1917277
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
| -rw-r--r-- | addons/mail/static/src/xml/thread.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index 978562c25a0..dada8901491 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -61,15 +61,15 @@ </div> </div> <div t-if="widget.activeAttachment.fileType == 'image'" class="o_viewer_toolbar btn-toolbar" role="toolbar"> - <div class="btn-group ml0" role="group"> + <div class="btn-group" role="group"> <a role="button" href="#" class="o_viewer_toolbar_btn btn o_zoom_in" data-toggle="tooltip" title="Zoom In"><i class="fa fa-fw fa-plus" role="img" aria-label="Zoom In"/></a> <a role="button" href="#" class="o_viewer_toolbar_btn btn o_zoom_reset disabled" data-toggle="tooltip" title="Reset Zoom"><i class="fa fa-fw fa-search" role="img" aria-label="Reset Zoom"/></a> <a role="button" href="#" class="o_viewer_toolbar_btn btn o_zoom_out disabled" data-toggle="tooltip" title="Zoom Out"><i class="fa fa-fw fa-minus" role="img" aria-label="Zoom Out"/></a> </div> - <div class="btn-group ml8" role="group"> + <div class="btn-group" role="group"> <a role="button" href="#" class="o_viewer_toolbar_btn btn o_rotate" data-toggle="tooltip" title="Rotate"><i class="fa fa-fw fa-repeat" role="img" aria-label="Rotate"/></a> </div> - <div class="btn-group ml8" role="group"> + <div class="btn-group" role="group"> <a role="button" href="#" class="o_viewer_toolbar_btn btn o_print_btn" data-toggle="tooltip" title="Print"><i class="fa fa-fw fa-print" role="img" aria-label="Print"/></a> <a role="button" href="#" class="o_viewer_toolbar_btn btn o_download_btn" data-toggle="tooltip" title="Download"><i class="fa fa-fw fa-download" role="img" aria-label="Download"/></a> </div> |
