diff options
| author | Pierre Paridans <app@odoo.com> | 2020-02-21 14:05:07 +0000 |
|---|---|---|
| committer | Pierre Paridans <app@odoo.com> | 2020-03-05 11:40:01 +0000 |
| commit | 80c00af329b9edea33f388dacb3e4da74bdc579b (patch) | |
| tree | c3ebdc64e092a78227edd59dcc3f359642e179ee | |
| parent | 5d88e164bcec2f8e895aa4bf8cd33d044bf124fb (diff) | |
[FIX] mail: overflow in the attachment box
The chatter's attachment box has an horizontal overflow when adding at
least 1 attachment.
This is due to a negative margin applied on the attachment list/previews
not matching its container's padding (3px vs 5px).
This commit reuses the SCSS variable dedicated to this margin around the
attachment list/previews and apply it correctly to the chatter's
attachment box.
Task ID: 2194025
X-original-commit: 3a7eb3fe97541855ae893514f8b98cbfe6c1a7e4
| -rw-r--r-- | addons/mail/static/src/scss/attachment_box.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/scss/attachment_box.scss b/addons/mail/static/src/scss/attachment_box.scss index 2fbff3c2386..7008fcce61e 100644 --- a/addons/mail/static/src/scss/attachment_box.scss +++ b/addons/mail/static/src/scss/attachment_box.scss @@ -4,7 +4,7 @@ min-height: 50px; .o_chatter_attachment { - padding: 3px; + padding: $o-attachment-margin; input.o_input_file { position: absolute; |
