5.11.1: Стили TaskList и карточек Wishlist
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m3s

This commit is contained in:
poignatov
2026-03-04 18:22:58 +03:00
parent 92453def91
commit 6caed05c9f
5 changed files with 24 additions and 14 deletions

View File

@@ -1 +1 @@
5.11.0 5.11.1

View File

@@ -1,6 +1,6 @@
{ {
"name": "play-life-web", "name": "play-life-web",
"version": "5.11.0", "version": "5.11.1",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@@ -285,8 +285,8 @@
.task-progression-value { .task-progression-value {
font-size: 0.8rem; font-size: 0.8rem;
font-weight: 500; font-weight: 700;
color: #374151; color: #9ca3af;
min-width: 1rem; min-width: 1rem;
text-align: center; text-align: center;
} }

View File

@@ -184,7 +184,15 @@
transform: translateY(-2px); transform: translateY(-2px);
} }
.wishlist-card.faded { .wishlist-card-content {
position: relative;
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
}
.wishlist-card.faded .wishlist-card-content {
opacity: 0.45; opacity: 0.45;
} }
@@ -195,7 +203,7 @@
border-radius: 50%; border-radius: 50%;
width: 28px; width: 28px;
height: 28px; height: 28px;
z-index: 10; z-index: 20;
padding: 0; padding: 0;
display: flex; display: flex;
align-items: center; align-items: center;

View File

@@ -630,15 +630,16 @@ function Wishlist({ onNavigate, refreshTrigger = 0, isActive = false, initialBoa
)} )}
</div> </div>
)} )}
<button <div className="wishlist-card-content">
className="card-menu-button" <button
onClick={(e) => handleMenuClick(item, e)} className="card-menu-button"
title="Меню" onClick={(e) => handleMenuClick(item, e)}
> title="Меню"
>
</button>
</button>
<div className="card-image"> <div className="card-image">
{item.image_url ? ( {item.image_url ? (
<img src={item.image_url} alt={item.name} /> <img src={item.image_url} alt={item.name} />
) : ( ) : (
@@ -664,6 +665,7 @@ function Wishlist({ onNavigate, refreshTrigger = 0, isActive = false, initialBoa
} }
return null return null
})()} })()}
</div>
</div> </div>
) )
} }