优化:留言卡片正文区压缩上下 padding,内容更靠上靠前
This commit is contained in:
@@ -186,7 +186,7 @@
|
||||
|
||||
{{-- 卡片头部:发件人 / 收件人 / 时间 --}}
|
||||
<div
|
||||
class="flex items-center justify-between px-5 py-3.5 border-b {{ $isSecret ? 'border-pink-100 bg-pink-50/50' : 'border-gray-50 bg-gray-50/50' }}">
|
||||
class="flex items-center justify-between px-5 py-2.5 border-b {{ $isSecret ? 'border-pink-100 bg-pink-50/50' : 'border-gray-50 bg-gray-50/50' }}">
|
||||
<div class="flex items-center gap-2 text-sm">
|
||||
{{-- 发件人头像占位 --}}
|
||||
<div
|
||||
@@ -221,7 +221,7 @@
|
||||
</div>
|
||||
|
||||
{{-- 正文内容 --}}
|
||||
<div class="px-5 py-4">
|
||||
<div class="px-5 pt-2.5 pb-2">
|
||||
<p class="text-gray-700 text-[15px] leading-relaxed whitespace-pre-wrap">
|
||||
{!! nl2br(e($msg->text_body)) !!}</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user