Compare commits
1 Commits
cdbe04cbca
...
a418858755
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a418858755 |
@ -333,9 +333,9 @@ export function EditGame({ onShowToast }: Props) {
|
||||
<input
|
||||
type="number"
|
||||
value={price}
|
||||
onChange={(e) => setPrice(Math.ceil(Number(e.target.value.replace(',', '.'))))}
|
||||
onChange={(e) => setPrice(Number(e.target.value.replace(',', '.')))}
|
||||
min="0"
|
||||
step="1"
|
||||
step="0.01"
|
||||
style={inputStyles}
|
||||
className="add-game-input"
|
||||
/>
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -463,9 +463,9 @@ export function GameList({ onShowToast }: Props) {
|
||||
<input
|
||||
type="number"
|
||||
value={price}
|
||||
onChange={(e) => setPrice(Math.ceil(Number(e.target.value.replace(',', '.'))))}
|
||||
onChange={(e) => setPrice(Number(e.target.value.replace(',', '.')))}
|
||||
min="0"
|
||||
step="1"
|
||||
step="0.01"
|
||||
style={inputStyles}
|
||||
className="add-game-input"
|
||||
/>
|
||||
|
||||
@ -86,7 +86,7 @@ export function FilteredGamesList({
|
||||
fontWeight: 600,
|
||||
}}
|
||||
>
|
||||
{price === 0 ? "0 (Free)" : price}€
|
||||
${price === 0 ? "0 (Free)" : price}
|
||||
</div>
|
||||
</div>
|
||||
<GameImage game={game} />
|
||||
|
||||
@ -129,6 +129,7 @@ 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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user