fix:달력 첨부파일 아이콘 우측 끝 정렬

This commit is contained in:
김보곤
2026-02-10 21:14:15 +09:00
parent 4c09f2536e
commit 77cc8f4101

View File

@@ -125,10 +125,10 @@ class="text-gray-300 hover:text-emerald-600 hover:bg-emerald-50 rounded transiti
<div class="space-y-0.5">
@foreach($daySchedules as $schedule)
<button type="button" onclick="openEditModal({{ $schedule->id }})"
class="block w-full text-left px-1.5 py-0.5 rounded text-xs border cursor-pointer hover:opacity-80 transition-opacity flex items-center gap-0.5"
class="w-full text-left px-1.5 py-0.5 rounded text-xs border cursor-pointer hover:opacity-80 transition-opacity flex items-center justify-between"
style="{{ $schedule->type_style }}"
title="[{{ $schedule->type_label }}] {{ $schedule->title }}{{ !$schedule->is_all_day && $schedule->start_time ? ' ('.$schedule->start_time.')' : '' }}{{ $schedule->files_count ? ' (첨부 '.$schedule->files_count.'개)' : '' }}">
<span class="truncate">
<span class="truncate min-w-0">
<span class="font-bold">[{{ $schedule->type_label }}]</span>
@if(!$schedule->is_all_day && $schedule->start_time)
<span class="font-medium">{{ \Carbon\Carbon::parse($schedule->start_time)->format('H:i') }}</span>
@@ -136,7 +136,7 @@ class="block w-full text-left px-1.5 py-0.5 rounded text-xs border cursor-pointe
{{ $schedule->title }}
</span>
@if($schedule->files_count > 0)
<svg class="w-3 h-3 flex-shrink-0 opacity-60" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<svg class="w-3 h-3 flex-shrink-0 opacity-60 ml-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.172 7l-6.586 6.586a2 2 0 102.828 2.828l6.414-6.586a4 4 0 00-5.656-5.656l-6.415 6.585a6 6 0 108.486 8.486L20.5 13"/>
</svg>
@endif