[FIX] web: quick create inputs don't take all space

Adds `width: 100%` on the `.o_field_widget` so the input it can take the
all width in the "Quick Create" form.

Also, this commit fixes the CSS selector for the `margin`
rule as in the "Quick Create" form view there is no `.o_group` anymore
on `.o_inner_group`.

Steps to reproduce:
* Go to project
* Select a project
* Click on the `Create` button => BUG

closes odoo/odoo#102151

X-original-commit: 774213758c7ddf7b74a9b370457f017e09d9bbcf
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Signed-off-by: Romeo Fragomeli (rfr) <rfr@odoo.com>
This commit is contained in:
Romeo Fragomeli
2022-10-04 20:01:32 +02:00
parent a36fdc43cd
commit bf7997e5ee
2 changed files with 2 additions and 3 deletions
@@ -42,6 +42,7 @@
}
.o_field_widget {
width: 100%;
margin-bottom: $o-form-spacing-unit * 2;
> .o_field_widget {
@@ -397,8 +398,6 @@
}
.o_field_widget {
width: 100%;
> .btn {
flex: 0 0 auto;
padding: 0 10px;
@@ -45,7 +45,7 @@
margin-top: calc(var(--KanbanRecord-margin-h) * 2);
padding: 8px;
.o_form_view .o_group.o_inner_group {
.o_form_view .o_inner_group {
margin: 0;
}
}