[FIX] web: form view, hide empty statistics data
Hide empty statistic fields to avoid forcing a "two lines layout" when it's not necessary.
This commit is contained in:
committed by
Aaron Bohy
parent
dca874b2bf
commit
298d8bbfbd
@@ -400,15 +400,16 @@ $o-form-label-margin-right: 0px;
|
||||
|
||||
> .o_stat_value, > .o_stat_text {
|
||||
@include o-text-overflow(block);
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.o_stat_value {
|
||||
font-weight: $font-weight-bold;
|
||||
color: $o-brand-odoo;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.o_stat_text {
|
||||
line-height: 1.2;
|
||||
|
||||
.o_stat_text .o_field_empty {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user