From b8e28f9cccf7d7e6685143b6b657e7df64168076 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henry=20T=C3=A4schner?=
<129834483+HenryT-CG@users.noreply.github.com>
Date: Sun, 10 Nov 2024 07:18:54 +0100
Subject: [PATCH] Use a form on theme import (#296)
* fix: use a form on theme import
* fix: code cleanup
---
.../theme-import/theme-import.component.html | 34 +++++---
.../theme-import.component.spec.ts | 81 +++++++++----------
.../theme-import/theme-import.component.ts | 67 +++++++--------
.../theme-search/theme-search.component.html | 6 +-
.../theme-search.component.spec.ts | 16 +++-
.../theme-search/theme-search.component.ts | 8 +-
src/assets/i18n/de.json | 3 +-
src/assets/i18n/en.json | 3 +-
8 files changed, 123 insertions(+), 95 deletions(-)
diff --git a/src/app/theme/theme-import/theme-import.component.html b/src/app/theme/theme-import/theme-import.component.html
index f8c17b3..2b4513a 100644
--- a/src/app/theme/theme-import/theme-import.component.html
+++ b/src/app/theme/theme-import/theme-import.component.html
@@ -6,6 +6,7 @@
[closable]="true"
[modal]="true"
(onHide)="onImportThemeHide()"
+ [style]="{ 'max-width': '700px' }"
>