summaryrefslogtreecommitdiff
path: root/addons/account/static/src
diff options
context:
space:
mode:
authorAdrien Dieudonne <adr@odoo.com>2020-02-27 13:14:15 +0000
committerAdrien Dieudonne <adr@odoo.com>2020-03-03 08:09:49 +0000
commit464968de36df259ddf03e56e259f7fb17a2dc5b9 (patch)
tree4e50bf08cd4574a766f56cad425a593d09d94612 /addons/account/static/src
parent39c4d122a21904cf6852419028204c0d8a2f587f (diff)
[FIX] account, hr_expense: amounts on multiple lines in the dashboard
Before this commit, the amount currency could be wrapped on a second line (on mobile). To fix this, we had to find a way to have more space: - Buttons are now displayed at the top (mobile only). - Amounts can grow (col-auto) and the other column will take the space left (col) and add "..." when there is not enough space. (mobile + desktop) We also had to remove a button from a div tag in order to display the buttons next to each other on mobile (buttons are "inline-block" but div is a "block"). The main flow tour has been adapted accordingly and the typo has been fixed too... closes odoo/odoo#46680 Task-id: 2184243 X-original-commit: 159e3d4cb8a301c908f7718a56138528033e75d4 Related: odoo/enterprise#8963 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Diffstat (limited to 'addons/account/static/src')
-rw-r--r--addons/account/static/src/scss/account_journal_dashboard.scss7
1 files changed, 5 insertions, 2 deletions
diff --git a/addons/account/static/src/scss/account_journal_dashboard.scss b/addons/account/static/src/scss/account_journal_dashboard.scss
index b842a94f058..36d8dbfd171 100644
--- a/addons/account/static/src/scss/account_journal_dashboard.scss
+++ b/addons/account/static/src/scss/account_journal_dashboard.scss
@@ -1,8 +1,11 @@
.o_kanban_view.o_kanban_dashboard.o_account_kanban {
.o_kanban_record {
- .oe_kanban_action_button {
- margin-bottom: 5px;
+ @include media-breakpoint-up(sm) {
+ .oe_kanban_action_button {
+ display: block;
+ margin-bottom: 5px;
+ }
}
.o_kanban_card_settings {