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

index 775cf2f61c46263ee074d3c974da5d0749e304bd..1bf4daa99d9aa6d0947dfd1f56fbc0ef7d45d6c1 100644 (file)
@@ -217,6 +217,9 @@ 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,
@@ -246,6 +249,8 @@ 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;'],
                     'options' => [
                         'options' => [
                             'multiple' => false,
@@ -259,7 +264,7 @@ JS
                             'showUpload' => false,
                             'browseLabel' => '',
                             'removeLabel' => '',
-                            'cancelLabel' => '',    
+                            'cancelLabel' => '',
                             'browseIcon' => '+',
                             'removeIcon' => '-',
                             'cancelIcon' => 'x',