feat: adding translations for new label

This commit is contained in:
Chubby Granny Chaser
2025-11-11 18:22:39 +00:00
parent a2148dd1ef
commit aebf6d1cae
6 changed files with 10 additions and 17 deletions

View File

@@ -83,10 +83,7 @@ export function SidebarGameItem({
{(game.newDownloadOptionsCount ?? 0) > 0 && (
<span className="sidebar__game-badge">
<div className="sidebar__game-badge-plus">+</div>
<div className="sidebar__game-badge-count">
{game.newDownloadOptionsCount}
</div>
+{game.newDownloadOptionsCount}
</span>
)}
</button>

View File

@@ -116,24 +116,18 @@
}
&__game-badge {
background: rgba(255, 255, 255, 0.1);
color: #fff;
background-color: rgba(34, 197, 94, 0.15);
color: rgb(187, 247, 208);
font-size: 10px;
font-weight: bold;
font-weight: 600;
padding: 4px 6px;
border-radius: 6px;
display: flex;
margin-left: auto;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
gap: calc(globals.$spacing-unit * 0.35);
border: 1px solid rgba(34, 197, 94, 0.5);
}
&__game-badge-plus,
&__game-badge-count {
display: flex;
align-items: center;
justify-content: center;
}
&__section-header {
display: flex;

View File

@@ -57,10 +57,9 @@
&__new-badge {
background-color: rgba(34, 197, 94, 0.15);
color: rgb(187, 247, 208);
padding: 2px 6px;
padding: 2px 8px;
border-radius: 6px;
font-size: 10px;
font-weight: 600;
font-size: 9px;
text-align: center;
flex-shrink: 0;
border: 1px solid rgba(34, 197, 94, 0.5);