From e1381ed9253be2d9b54d74527e189e7887284e8d Mon Sep 17 00:00:00 2001 From: marina Date: Tue, 27 May 2025 09:49:17 +0300 Subject: [PATCH] ERP-417 --- erp24/views/write_offs_erp/_form.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/erp24/views/write_offs_erp/_form.php b/erp24/views/write_offs_erp/_form.php index 1bf4daa9..7bcbc748 100644 --- a/erp24/views/write_offs_erp/_form.php +++ b/erp24/views/write_offs_erp/_form.php @@ -217,9 +217,6 @@ JS 'name' => 'imageFiles', 'title' => 'Фотографии: jpg и png', 'type' => FileInput::className(), - 'headerOptions' => ['style' => 'width: 200px; white-space: nowrap;'], - 'contentOptions' => ['style' => 'max-width: 200px; overflow: hidden; text-overflow: ellipsis;'], - 'options' => [ 'options' => [ 'multiple' => true, @@ -249,9 +246,11 @@ JS 'name' => 'videoFiles', 'title' => 'Видео: mp4, mov, avi', 'type' => FileInput::class, - 'headerOptions' => ['style' => 'width: 200px; white-space: nowrap;'], - 'contentOptions' => ['style' => 'max-width: 200px; overflow: hidden; text-overflow: ellipsis;'], + 'fieldOptions' => [ + 'style' => 'width: 150px;', + ], 'options' => [ + 'style' => 'max-width: 150px; overflow: hidden;', 'options' => [ 'multiple' => false, 'accept' => 'video/*', -- 2.39.5