fix: 金币流水列表类型栏位图标与文字保持同行不换行
This commit is contained in:
@@ -119,16 +119,16 @@
|
||||
</td>
|
||||
<td class="px-6 py-4">
|
||||
@if($log->currency === 'gold')
|
||||
<span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-yellow-100 text-yellow-800">
|
||||
💰 金币
|
||||
<span class="inline-flex items-center gap-1 whitespace-nowrap px-2 py-0.5 rounded text-xs font-medium bg-yellow-100 text-yellow-800">
|
||||
<span>💰</span><span>金币</span>
|
||||
</span>
|
||||
@elseif($log->currency === 'exp')
|
||||
<span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-blue-100 text-blue-800">
|
||||
⭐ 经验
|
||||
<span class="inline-flex items-center gap-1 whitespace-nowrap px-2 py-0.5 rounded text-xs font-medium bg-blue-100 text-blue-800">
|
||||
<span>⭐</span><span>经验</span>
|
||||
</span>
|
||||
@elseif($log->currency === 'charm')
|
||||
<span class="inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-pink-100 text-pink-800">
|
||||
💖 魅力
|
||||
<span class="inline-flex items-center gap-1 whitespace-nowrap px-2 py-0.5 rounded text-xs font-medium bg-pink-100 text-pink-800">
|
||||
<span>💖</span><span>魅力</span>
|
||||
</span>
|
||||
@else
|
||||
<span class="text-gray-500">{{ $log->currency }}</span>
|
||||
|
||||
Reference in New Issue
Block a user