diff options
| author | Xavier Dubuc <xdu@odoo.com> | 2020-06-26 09:07:58 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2020-06-26 10:02:16 +0000 |
| commit | e01ad94c4b5e09984df1f45ee26cb71bd395a3cc (patch) | |
| tree | 18ac81c3569978ad7c5a8c1e7aa7d67369616417 /addons/mail/static/src/components/composer/composer.xml | |
| parent | 343c1c05d3e9cf39a41dc259e8f1630fe3ecd9f2 (diff) | |
[FIX] mail: fix composer buttons style
- emoji button was shifting right on click
- log/send button color was not correct
task-2274349
closes odoo/odoo#53724
X-original-commit: 41a7bb6e9b0c674ca3db5638d17e85f1b3b33f79
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/components/composer/composer.xml')
| -rw-r--r-- | addons/mail/static/src/components/composer/composer.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/mail/static/src/components/composer/composer.xml b/addons/mail/static/src/components/composer/composer.xml index 2845466750f..bd14aed503a 100644 --- a/addons/mail/static/src/components/composer/composer.xml +++ b/addons/mail/static/src/components/composer/composer.xml @@ -76,10 +76,10 @@ <t t-if="props.isCompact"> <div class="o_Composer_toolButtonSeparator"/> </t> - <div class="o_Composer_primaryToolButtons"> + <div class="o_Composer_primaryToolButtons" t-att-class="{ 'o-composer-is-compact': props.isCompact }"> <Popover position="'top'" t-on-o-emoji-selection="_onEmojiSelection" t-ref="emojisPopover"> <!-- TODO FIXME o-open not possible to code due to https://github.com/odoo/owl/issues/693 --> - <button class="o_Composer_button o_Composer_buttonEmojis o_Composer_toolButton btn btn-secondary" + <button class="o_Composer_button o_Composer_buttonEmojis o_Composer_toolButton btn btn-light" t-att-class="{ 'o-open': false and state.displayed, 'o-mobile': env.messaging.device.isMobile, @@ -91,11 +91,11 @@ <EmojisPopover/> </t> </Popover> - <button class="o_Composer_button o_Composer_buttonAttachment o_Composer_toolButton btn btn-secondary fa fa-paperclip" t-att-class="{ 'o-mobile': env.messaging.device.isMobile }" title="Add attachment" type="button" t-on-click="_onClickAddAttachment"/> + <button class="o_Composer_button o_Composer_buttonAttachment o_Composer_toolButton btn btn-light fa fa-paperclip" t-att-class="{ 'o-mobile': env.messaging.device.isMobile }" title="Add attachment" type="button" t-on-click="_onClickAddAttachment"/> </div> <t t-if="props.isExpandable"> <div class="o_Composer_secondaryToolButtons"> - <button class="btn btn-secondary fa fa-expand o_Composer_button o_Composer_buttonFullComposer o_Composer_toolButton" t-att-class="{ 'o-mobile': env.messaging.device.isMobile }" title="Full composer" type="button" t-on-click="_onClickFullComposer"/> + <button class="btn btn-light fa fa-expand o_Composer_button o_Composer_buttonFullComposer o_Composer_toolButton" t-att-class="{ 'o-mobile': env.messaging.device.isMobile }" title="Full composer" type="button" t-on-click="_onClickFullComposer"/> </div> </t> </div> |
