[FIX] account, kanban_dashboard: fix favorite alignment

Commit[1] introduced some changes in order to fix a layout issue in the
accounting dashboard but these changes were applied in a way that affects
a lot of modules and files that should not be modified.

In fact, by removing the padding inside the `kanban_dashboard.scss`
commit[1] is actually removing the padding in every place where
the boolean_favorite widget is used.

There is also a change applied in the Bootstrap library files, which
should remain untouched.

=== AFTER ===

We revert the changes applied by commit[1] and also fix the layout issue
in the accounting dashboard that it aimed to fix.

commit[1]: d4ba0c1

task-3453799
part of task-3326263

closes odoo/odoo#132134

X-original-commit: f78571cec0a5debf78c5dd1859c78b13d33df1ab
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Chrysanthe (chgo)
2023-08-17 01:04:34 +02:00
parent d9e31fbb51
commit 8120fca14f
3 changed files with 2 additions and 2 deletions
@@ -206,7 +206,7 @@
</div>
<div groups="account.group_account_manager" class="row o_kanban_card_manage_settings">
<div class="col-6 position-relative">
<div class="col-6 position-relative mt-n2">
<field name="show_on_dashboard" widget="boolean_favorite"/>
</div>
<div class="col-6 text-end">
@@ -76,7 +76,6 @@
// Make a button look and behave like a link
.btn-link {
padding: 0;
font-weight: $font-weight-normal;
color: $btn-link-color;
text-decoration: $link-decoration;
@@ -191,6 +191,7 @@
$top: 3px,
$left: calc(var(--KanbanRecord-padding-h) - #{$o-horizontal-padding})
);
padding: $o-kanban-record-margin;
}
}