From 50da92e9016638166681642a825d4508fb2ccc2c Mon Sep 17 00:00:00 2001 From: Yegor Koldov Date: Sun, 16 Jul 2023 17:49:13 +0200 Subject: [PATCH] Fixing horizontal focus in Migrations --- src/pages/ManuallyAdjustTimePage.tsx | 33 +++++++++++------------- src/pages/SteamlessTimeMigrationPage.tsx | 33 +++++++++++------------- 2 files changed, 30 insertions(+), 36 deletions(-) diff --git a/src/pages/ManuallyAdjustTimePage.tsx b/src/pages/ManuallyAdjustTimePage.tsx index b56e639..bca4131 100644 --- a/src/pages/ManuallyAdjustTimePage.tsx +++ b/src/pages/ManuallyAdjustTimePage.tsx @@ -120,35 +120,32 @@ export const ManuallyAdjustTimePage: VFC = () => { {tableRows.map((row, idx) => ( -
-
- onGameChange(idx, e.data)} - /> -
+ onGameChange(idx, e.data)} + />
{map(row.playTimeTrackedSec, (it) => humanReadableTime(it) )}
-
- - onDesiredHoursChange(idx, e.target.value) - } - /> -
-
+ + onDesiredHoursChange(idx, e.target.value) + } + /> + ))} diff --git a/src/pages/SteamlessTimeMigrationPage.tsx b/src/pages/SteamlessTimeMigrationPage.tsx index b5bf095..f6abc99 100644 --- a/src/pages/SteamlessTimeMigrationPage.tsx +++ b/src/pages/SteamlessTimeMigrationPage.tsx @@ -121,7 +121,8 @@ export const SteamlessTimeMigrationPage: VFC = () => { {tableRows.map((row, idx) => ( -
{
{humanReadableTime(row.steamlessTimeTrackedSec)}
-
- onGameChange(idx, e.data)} - /> -
+ onGameChange(idx, e.data)} + />
{map(row.playTimeTrackedSec, (it) => humanReadableTime(it) )}
-
- - onDesiredHoursChange(idx, e.target.value) - } - /> -
-
+ + onDesiredHoursChange(idx, e.target.value) + } + /> + ))}