Я создал гибкую таблицу, и она не показывает мне правильные таблицы, только первая таблица хороша, а другие не имеют одинаковую ширину.
Я пытался вставить еще один div, который планировался в классе, но потом не показывал меня в строке.
Ниже вы можете найти код.
<div class="planning-videx">
<div class="name-block" *ngFor="let valueItem of showVI()">
{{valueItem.name}}
<div class="planned">
{{actualCosts | moneyFormat}}
</div>
<div class="planned">
{{plannedCosts | moneyFormat}}
</div>
</div>
</div>
Это CSS
$row-background-color: white;
$row-height: 100%;
$content-height: 45px;
.planning-videx {
@extend .vp-column;
margin-left: 10px;
overflow: auto;
max-height: $row-height;
.name-block {
@extend %common-block;
@include center(false, true);
@include justify-content(space-between);
height: 40px;
margin-left: 1px;
padding-left: 10px;
div.planned {
@extend %flexbox;
@include center(false, true);
border-left: solid thin $border-color;
padding: 0 5px;
width: 150px;
height: 100%;
}
}
.costs-block {
@extend %common-block;
@include center();
@include justify-content(flex-end);
margin-left: 10px;
padding-right: 5px;
width: 100px;
flex-direction: row;
}
}
%common-block {
@extend .vp-row;
background-color: $row-background-color;
margin-top: 1px;
margin-bottom: 1px;
min-height: $content-height;
border: solid thin $border-color;
border-radius: 3px;
}