Compare commits

...

4 Commits

Author SHA1 Message Date
Renovate Bot
088f6f7ac1 Update dependency @bufbuild/protobuf to v2.10.2 2026-01-12 11:04:05 +00:00
acc6bc4359 remove border from black theme 2026-01-12 11:21:45 +01:00
5dfe1fbb98 price rounding 2026-01-12 11:19:21 +01:00
fdbd88dd7e change $ to € 2026-01-12 11:14:42 +01:00
6 changed files with 13 additions and 14 deletions

View File

@ -13,7 +13,7 @@ importers:
dependencies:
'@bufbuild/protobuf':
specifier: ^2.10.1
version: 2.10.1
version: 2.10.2
react:
specifier: ^19.2.1
version: 19.2.1
@ -149,8 +149,8 @@ packages:
resolution: {integrity: sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==}
engines: {node: '>=6.9.0'}
'@bufbuild/protobuf@2.10.1':
resolution: {integrity: sha512-ckS3+vyJb5qGpEYv/s1OebUHDi/xSNtfgw1wqKZo7MR9F2z+qXr0q5XagafAG/9O0QPVIUfST0smluYSTpYFkg==}
'@bufbuild/protobuf@2.10.2':
resolution: {integrity: sha512-uFsRXwIGyu+r6AMdz+XijIIZJYpoWeYzILt5yZ2d3mCjQrWUTVpVD9WL/jZAbvp+Ed04rOhrsk7FiTcEDseB5A==}
'@emnapi/core@1.7.1':
resolution: {integrity: sha512-o1uhUASyo921r2XtHYOHy7gdkGLge8ghBEQHMWmyJFoXlpU58kIrhhN3w26lpQb6dspetweapMn2CSNwQ8I4wg==}
@ -425,7 +425,7 @@ packages:
resolution: {integrity: sha512-EcA07pHJouywpzsoTUqNh5NwGayl2PPVEJKUSinGGSxFGYn+shYbqMGBg6FXDqgXum9Ou/ecb+411ssw8HImJQ==}
engines: {node: ^20.19.0 || >=22.12.0}
peerDependencies:
vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0
vite: npm:rolldown-vite@7.2.5
acorn-jsx@5.3.2:
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
@ -1167,7 +1167,7 @@ snapshots:
'@babel/helper-string-parser': 7.27.1
'@babel/helper-validator-identifier': 7.28.5
'@bufbuild/protobuf@2.10.1': {}
'@bufbuild/protobuf@2.10.2': {}
'@emnapi/core@1.7.1':
dependencies:
@ -1940,11 +1940,11 @@ snapshots:
ts-proto-descriptors@2.0.0:
dependencies:
'@bufbuild/protobuf': 2.10.1
'@bufbuild/protobuf': 2.10.2
ts-proto@2.8.3:
dependencies:
'@bufbuild/protobuf': 2.10.1
'@bufbuild/protobuf': 2.10.2
case-anything: 2.1.13
ts-poet: 6.12.0
ts-proto-descriptors: 2.0.0

View File

@ -333,9 +333,9 @@ export function EditGame({ onShowToast }: Props) {
<input
type="number"
value={price}
onChange={(e) => setPrice(Number(e.target.value.replace(',', '.')))}
onChange={(e) => setPrice(Math.ceil(Number(e.target.value.replace(',', '.'))))}
min="0"
step="0.01"
step="1"
style={inputStyles}
className="add-game-input"
/>

View File

@ -78,7 +78,7 @@ export function GameFilter() {
</div>
<div className="filter-group">
<label htmlFor="max-price">Maximum price ($)</label>
<label htmlFor="max-price">Maximum price ()</label>
<input
id="max-price"
type="number"

View File

@ -463,9 +463,9 @@ export function GameList({ onShowToast }: Props) {
<input
type="number"
value={price}
onChange={(e) => setPrice(Number(e.target.value.replace(',', '.')))}
onChange={(e) => setPrice(Math.ceil(Number(e.target.value.replace(',', '.'))))}
min="0"
step="0.01"
step="1"
style={inputStyles}
className="add-game-input"
/>

View File

@ -86,7 +86,7 @@ export function FilteredGamesList({
fontWeight: 600,
}}
>
${price === 0 ? "0 (Free)" : price}
{price === 0 ? "0 (Free)" : price}
</div>
</div>
<GameImage game={game} />

View File

@ -129,7 +129,6 @@ ul {
--secondary-bg: rgb(0, 0, 0, 0.7); /* Translucent cards */
--secondary-alt-bg: rgb(20, 20, 20, 0.6); /* Translucent inputs */
--tertiary-bg: rgb(40, 40, 40, 0.8);
--border-color: rgb(255, 255, 255, 0.15);
--text-color: #ffffff;
--accent-color: #121212;
--secondary-accent: #212121;