diff --git a/src/app/products/products-mix/view-product-mix/view-product-mix.component.html b/src/app/products/products-mix/view-product-mix/view-product-mix.component.html index 20413c4ae..f2c5f66dd 100644 --- a/src/app/products/products-mix/view-product-mix/view-product-mix.component.html +++ b/src/app/products/products-mix/view-product-mix/view-product-mix.component.html @@ -6,14 +6,41 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. --> -
-
+
+ + +
+ +
+
+ + + + + + + + +
+ {{ 'labels.inputs.Restricted products' | translate }} + {{ product.name }}
+ + +
+ +
- - + @@ -22,31 +49,4 @@ -
-
- - -
-
-
+ {{ 'labels.inputs.Allowed Products' | translate }} {{ product.name }}{{ product.name }}
- - - - - - - -
- {{ 'labels.inputs.Restricted products' | translate }} - {{ product.name }}
- - -
-
diff --git a/src/app/products/products-mix/view-product-mix/view-product-mix.component.scss b/src/app/products/products-mix/view-product-mix/view-product-mix.component.scss index e02231ad4..4561ef8a6 100644 --- a/src/app/products/products-mix/view-product-mix/view-product-mix.component.scss +++ b/src/app/products/products-mix/view-product-mix/view-product-mix.component.scss @@ -6,50 +6,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -.allowed-products-align { - margin-top: 19px; -} - -.product-mix-row { - display: flex; - align-items: flex-start; - gap: 32px; - justify-content: center; +table { width: 100%; } - -.restricted-products-col { - display: flex; - flex-direction: column; - align-items: flex-end; - min-width: 340px; - justify-content: flex-start; -} - -.action-buttons-wrapper { - width: 45%; - margin-left: auto; - margin-bottom: 8px; -} - -.restricted-products-box { - position: relative; -} - -.action-buttons { - display: flex; - justify-content: flex-end; - gap: 12px; - margin-bottom: 16px; -} - -.container { - display: flex; - align-items: flex-start; - justify-content: space-evenly; - - .inline-table { - display: inline-block; - width: 45%; - } -} diff --git a/src/app/products/products-mix/view-product-mix/view-product-mix.component.ts b/src/app/products/products-mix/view-product-mix/view-product-mix.component.ts index bf9b43c7c..b710327c9 100644 --- a/src/app/products/products-mix/view-product-mix/view-product-mix.component.ts +++ b/src/app/products/products-mix/view-product-mix/view-product-mix.component.ts @@ -31,7 +31,7 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co import { TranslateService } from '@ngx-translate/core'; import { ProductsService } from 'app/products/products.service'; import { FaIconComponent } from '@fortawesome/angular-fontawesome'; -import { NgClass } from '@angular/common'; + import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; /** @@ -50,7 +50,6 @@ import { STANDALONE_SHARED_IMPORTS } from 'app/standalone-shared.module'; MatHeaderCellDef, MatHeaderCell, MatSortHeader, - NgClass, MatCellDef, MatCell, MatHeaderRowDef,