4.13.1: Исправлен двойной border у outline кружков
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m21s

This commit is contained in:
poignatov
2026-02-04 13:26:23 +03:00
parent df3cced995
commit e0ffefc904
4 changed files with 22 additions and 15 deletions

View File

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

View File

@@ -209,13 +209,31 @@
min-width: 26px;
height: 26px;
padding: 0 8px;
background: #e5e7eb;
border-radius: 13px;
font-size: 13px;
font-weight: 600;
border: none;
box-shadow: none;
box-sizing: border-box;
-webkit-appearance: none;
appearance: none;
}
.item-members.filled {
background: #e5e7eb;
color: #6b7280;
}
.item-members.outline {
background: transparent !important;
border: 1px solid #e5e7eb !important;
border-image: none !important;
outline: none !important;
box-shadow: none !important;
-webkit-box-shadow: none !important;
color: #6b7280 !important;
}
.check-icon {
color: #4f46e5;
}

View File

@@ -38,9 +38,6 @@ function BoardSelector({
onClick={() => setIsOpen(!isOpen)}
disabled={loading}
>
{!selectedBoard?.is_owner && selectedBoard && (
<span className="shared-icon">👥</span>
)}
<span className="board-label">
{loading ? 'Загрузка...' : (selectedBoard?.name || 'Выберите доску')}
</span>
@@ -100,15 +97,7 @@ function BoardSelector({
>
<span className="item-name">{board.name}</span>
<div className="item-meta">
{!board.is_owner && <span className="item-badge shared">👥</span>}
{board.member_count > 0 && (
<span className="item-members">{board.member_count}</span>
)}
{board.id === selectedBoardId && (
<svg className="check-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5">
<polyline points="20 6 9 17 4 12"></polyline>
</svg>
)}
<span className={`item-members ${board.is_owner ? 'filled' : 'outline'}`}>{board.member_count + 1}</span>
</div>
</button>
))}