Compare commits
1 Commits
cdbe04cbca
...
a418858755
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a418858755 |
@ -333,9 +333,9 @@ export function EditGame({ onShowToast }: Props) {
|
|||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
value={price}
|
value={price}
|
||||||
onChange={(e) => setPrice(Math.ceil(Number(e.target.value.replace(',', '.'))))}
|
onChange={(e) => setPrice(Number(e.target.value.replace(',', '.')))}
|
||||||
min="0"
|
min="0"
|
||||||
step="1"
|
step="0.01"
|
||||||
style={inputStyles}
|
style={inputStyles}
|
||||||
className="add-game-input"
|
className="add-game-input"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -78,7 +78,7 @@ export function GameFilter() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="filter-group">
|
<div className="filter-group">
|
||||||
<label htmlFor="max-price">Maximum price (€)</label>
|
<label htmlFor="max-price">Maximum price ($)</label>
|
||||||
<input
|
<input
|
||||||
id="max-price"
|
id="max-price"
|
||||||
type="number"
|
type="number"
|
||||||
|
|||||||
@ -463,9 +463,9 @@ export function GameList({ onShowToast }: Props) {
|
|||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
value={price}
|
value={price}
|
||||||
onChange={(e) => setPrice(Math.ceil(Number(e.target.value.replace(',', '.'))))}
|
onChange={(e) => setPrice(Number(e.target.value.replace(',', '.')))}
|
||||||
min="0"
|
min="0"
|
||||||
step="1"
|
step="0.01"
|
||||||
style={inputStyles}
|
style={inputStyles}
|
||||||
className="add-game-input"
|
className="add-game-input"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -86,7 +86,7 @@ export function FilteredGamesList({
|
|||||||
fontWeight: 600,
|
fontWeight: 600,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{price === 0 ? "0 (Free)" : price}€
|
${price === 0 ? "0 (Free)" : price}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<GameImage game={game} />
|
<GameImage game={game} />
|
||||||
|
|||||||
@ -129,6 +129,7 @@ ul {
|
|||||||
--secondary-bg: rgb(0, 0, 0, 0.7); /* Translucent cards */
|
--secondary-bg: rgb(0, 0, 0, 0.7); /* Translucent cards */
|
||||||
--secondary-alt-bg: rgb(20, 20, 20, 0.6); /* Translucent inputs */
|
--secondary-alt-bg: rgb(20, 20, 20, 0.6); /* Translucent inputs */
|
||||||
--tertiary-bg: rgb(40, 40, 40, 0.8);
|
--tertiary-bg: rgb(40, 40, 40, 0.8);
|
||||||
|
--border-color: rgb(255, 255, 255, 0.15);
|
||||||
--text-color: #ffffff;
|
--text-color: #ffffff;
|
||||||
--accent-color: #121212;
|
--accent-color: #121212;
|
||||||
--secondary-accent: #212121;
|
--secondary-accent: #212121;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user