diff --git a/myproject/inventory/static/inventory/transformation_detail.css b/myproject/inventory/static/inventory/transformation_detail.css new file mode 100644 index 0000000..0b69aec --- /dev/null +++ b/myproject/inventory/static/inventory/transformation_detail.css @@ -0,0 +1,22 @@ +/* Стили для компонентов поиска товаров в трансформациях */ + +#transformation-input-picker .card, +#transformation-output-picker .card { + height: 380px !important; + display: flex !important; + flex-direction: column !important; +} + +#transformation-input-picker .product-picker-content, +#transformation-output-picker .product-picker-content { + max-height: 200px !important; + min-height: 200px !important; + overflow-y: auto !important; + flex-shrink: 0 !important; +} + +/* Скрываем внутренние кнопки компонента Picker */ +#transformation-input-picker .product-picker-add-selected, +#transformation-output-picker .product-picker-add-selected { + display: none !important; +} \ No newline at end of file diff --git a/myproject/inventory/templates/inventory/transformation/detail.html b/myproject/inventory/templates/inventory/transformation/detail.html index 477ec5f..ed7b171 100644 --- a/myproject/inventory/templates/inventory/transformation/detail.html +++ b/myproject/inventory/templates/inventory/transformation/detail.html @@ -7,6 +7,7 @@ {% block content %} +