Преглед изворни кода

Revert "修改礼品卡列表页邮箱太窄问题"

This reverts commit 1a446cc64d686e82385374f06bcee7390cc6def8.
llp пре 1 недеља
родитељ
комит
698e9c0a05
1 измењених фајлова са 1 додато и 13 уклоњено
  1. 1 13
      packages/Longyi/Gift/src/Resources/views/admin/index.blade.php

+ 1 - 13
packages/Longyi/Gift/src/Resources/views/admin/index.blade.php

@@ -3,13 +3,6 @@
         @lang('gift::app.admin.title')
     </x-slot>
 
-    {{-- 礼品卡列表列宽:第 6 个轨道是「用户邮箱」,给它更宽的空间(改这里的 300px 即可调整宽度) --}}
-    <style>
-        .gift-datagrid .row {
-            grid-template-columns: 50px 70px 110px 110px 130px minmax(300px, 1fr) 160px 100px 140px 170px 80px !important;
-        }
-    </style>
-
     <v-gift-cards>
         <!-- DataGrid Shimmer -->
         <x-admin::shimmer.datagrid />
@@ -42,7 +35,6 @@
                 <x-admin::datagrid
                     :src="route('admin.gift.index')"
                     ref="datagrid"
-                    class="gift-datagrid"
                 >
                     <template #body="{
                         isLoading,
@@ -90,11 +82,7 @@
                                 <p>@{{ record.remaining_giftcard_amount }}</p>
 
                                 <!-- Customer Email -->
-                                <p
-                                    v-html="record.customer_email"
-                                    :title="record.customer_email ? record.customer_email.replace(/<[^>]*>/g, '') : ''"
-                                    style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;"
-                                ></p>
+                                <p v-html="record.customer_email"></p>
 
                                 <!-- Expiration Date -->
                                 <p>@{{ record.expirationdate }}</p>