style: 라이트박스 이미지 둥근 모서리 제거 및 멤버 버튼 크기 일관성 수정
- AlbumGallery, AlbumDetail 라이트박스 이미지 rounded-lg 제거 - 선택된 멤버 버튼에 border 추가하여 크기 변화 방지 - 티저 라벨 영문->한글 변경
This commit is contained in:
parent
17407ec6da
commit
3ff912d1fe
3 changed files with 9 additions and 9 deletions
|
|
@ -290,7 +290,7 @@ function AlbumDetail() {
|
|||
{/* 앨범 티저 이미지 */}
|
||||
{album.teasers && album.teasers.length > 0 && (
|
||||
<div className="mt-auto">
|
||||
<p className="text-xs text-gray-400 mb-2">Official Teaser</p>
|
||||
<p className="text-xs text-gray-400 mb-2">티저 포토</p>
|
||||
<div className="flex gap-2">
|
||||
{album.teasers.map((teaser, index) => (
|
||||
<div
|
||||
|
|
@ -462,7 +462,7 @@ function AlbumDetail() {
|
|||
key={lightbox.index}
|
||||
src={lightbox.images[lightbox.index]}
|
||||
alt="확대 이미지"
|
||||
className={`max-w-[1100px] max-h-[75vh] object-contain rounded-lg transition-opacity duration-200 ${imageLoaded ? 'opacity-100' : 'opacity-0'}`}
|
||||
className={`max-w-[1100px] max-h-[75vh] object-contain transition-opacity duration-200 ${imageLoaded ? 'opacity-100' : 'opacity-0'}`}
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
onLoad={() => setImageLoaded(true)}
|
||||
initial={{ x: slideDirection * 100 }}
|
||||
|
|
|
|||
|
|
@ -311,7 +311,7 @@ function AlbumGallery() {
|
|||
key={lightbox.index}
|
||||
src={photos[lightbox.index]?.originalUrl}
|
||||
alt="확대 이미지"
|
||||
className={`max-w-[1100px] max-h-[75vh] object-contain rounded-lg transition-opacity duration-200 ${imageLoaded ? 'opacity-100' : 'opacity-0'}`}
|
||||
className={`max-w-[1100px] max-h-[75vh] object-contain transition-opacity duration-200 ${imageLoaded ? 'opacity-100' : 'opacity-0'}`}
|
||||
onLoad={() => setImageLoaded(true)}
|
||||
initial={{ x: slideDirection * 100 }}
|
||||
animate={{ x: 0 }}
|
||||
|
|
|
|||
|
|
@ -1023,7 +1023,7 @@ function AdminAlbumPhotos() {
|
|||
onClick={() => toggleMember(file.id, member.id)}
|
||||
className={`px-3 py-1 rounded-full text-sm transition-colors ${
|
||||
file.members.includes(member.id)
|
||||
? 'bg-primary text-white'
|
||||
? 'bg-primary text-white border border-primary'
|
||||
: 'bg-white text-gray-600 hover:bg-gray-100 border border-gray-200'
|
||||
}`}
|
||||
>
|
||||
|
|
@ -1044,7 +1044,7 @@ function AdminAlbumPhotos() {
|
|||
onClick={() => toggleMember(file.id, member.id)}
|
||||
className={`px-3 py-1 rounded-full text-sm transition-colors ${
|
||||
file.members.includes(member.id)
|
||||
? 'bg-gray-500 text-white'
|
||||
? 'bg-gray-500 text-white border border-gray-500'
|
||||
: 'bg-gray-100 text-gray-400 hover:bg-gray-200 border border-gray-200'
|
||||
}`}
|
||||
>
|
||||
|
|
@ -1161,8 +1161,8 @@ function AdminAlbumPhotos() {
|
|||
}}
|
||||
className={`px-2.5 py-1 rounded-full text-xs font-medium transition-colors ${
|
||||
bulkEdit.members.includes(member.id)
|
||||
? 'bg-primary text-white'
|
||||
: 'bg-gray-100 text-gray-600 hover:bg-gray-200'
|
||||
? 'bg-primary text-white border border-primary'
|
||||
: 'bg-gray-100 text-gray-600 hover:bg-gray-200 border border-gray-100'
|
||||
}`}
|
||||
>
|
||||
{member.name}
|
||||
|
|
@ -1188,8 +1188,8 @@ function AdminAlbumPhotos() {
|
|||
}}
|
||||
className={`px-2.5 py-1 rounded-full text-xs font-medium transition-colors ${
|
||||
bulkEdit.members.includes(member.id)
|
||||
? 'bg-gray-500 text-white'
|
||||
: 'bg-gray-100 text-gray-400 hover:bg-gray-200'
|
||||
? 'bg-gray-500 text-white border border-gray-500'
|
||||
: 'bg-gray-100 text-gray-400 hover:bg-gray-200 border border-gray-100'
|
||||
}`}
|
||||
>
|
||||
{member.name}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue