Skip to content

Commit

Permalink
[IMP] web: consider select tag for o_row class
Browse files Browse the repository at this point in the history
This commit will fix UI glitch when seletion field and
any other field kept on same line

Using o_row we can put two divs, two inputs side by side but
if we have case where from two elements 1 is input and second one
is selection widget then we will have glitches in UI,
this commit will fix that glitch

task-31003
  • Loading branch information
msh-odoo committed Apr 19, 2019
1 parent 45b92be commit 7e24931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/web/static/src/scss/form_view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
min-width: 50px;
margin: 0 (-$o-form-spacing-unit/2);

> div, > span, > button, > label, > a, > input { // > * did not add a level of priority to the rule
> div, > span, > button, > label, > a, > input, > select { // > * did not add a level of priority to the rule
flex: 0 0 auto;
width: auto!important;
margin-right: $o-form-spacing-unit/2;
Expand Down

0 comments on commit 7e24931

Please sign in to comment.