]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
ERP-417
authormarina <m.zozirova@gmail.com>
Tue, 27 May 2025 06:49:17 +0000 (09:49 +0300)
committermarina <m.zozirova@gmail.com>
Tue, 27 May 2025 06:49:17 +0000 (09:49 +0300)
erp24/views/write_offs_erp/_form.php

index 1bf4daa99d9aa6d0947dfd1f56fbc0ef7d45d6c1..7bcbc748e68faaf4046bda3729df779c68897a61 100644 (file)
@@ -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/*',