From 1efbc5a24efcbcf4c9c1e84267759ede2b63ce30 Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 13 Mar 2024 15:30:45 +0100 Subject: [PATCH] refactor(custom word amount modal): use new modal system --- frontend/src/html/popups.html | 20 ++-- frontend/src/styles/core.scss | 2 +- frontend/src/styles/popups.scss | 16 ++- frontend/src/ts/event-handlers/test.ts | 8 ++ frontend/src/ts/modals/custom-word-amount.ts | 60 ++++++++++++ .../src/ts/popups/custom-word-amount-popup.ts | 97 ------------------- .../src/ts/popups/mobile-test-config-popup.ts | 2 +- 7 files changed, 98 insertions(+), 107 deletions(-) create mode 100644 frontend/src/ts/modals/custom-word-amount.ts delete mode 100644 frontend/src/ts/popups/custom-word-amount-popup.ts diff --git a/frontend/src/html/popups.html b/frontend/src/html/popups.html index 6f07749b8..265a118a4 100644 --- a/frontend/src/html/popups.html +++ b/frontend/src/html/popups.html @@ -588,17 +588,25 @@
Sign up
- + +