From e5da1f532334a265e1b1c88d2a942e92654370d6 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sun, 13 Jun 2021 00:14:38 +0200 Subject: Replace the flex layout in favor of a grid layout This commit replaces the initial CSS flexbox layout for forms of the admin theme with a more elegant approach called "grid layout". :) Some interesting information: https://www.w3schools.com/css/css_grid.asp https://blog.logrocket.com/flexbox-vs-css-grid/ --- theme/admin/html/page/form.php | 86 +++++++++++++++++++++------------------- theme/admin/html/page/search.php | 6 +-- 2 files changed, 49 insertions(+), 43 deletions(-) (limited to 'theme/admin/html/page') diff --git a/theme/admin/html/page/form.php b/theme/admin/html/page/form.php index d26b207..eee61bf 100644 --- a/theme/admin/html/page/form.php +++ b/theme/admin/html/page/form.php @@ -12,49 +12,55 @@ -
-
-
-
-
id="form_id" name="id" type="number" placeholder="AUTO_INCREMENT" value="" />
+
+ + +
+ id="form_id" name="id" type="number" placeholder="AUTO_INCREMENT" value="" />
-
-
-
-
- -
+ + + +
+
-
-
-
-
-
-
+ + + +
+
-
-
-
-
+ + + +
+
-
-
-
-
-
-
+ + + +
+
-
-
-
-
+ + + +
+
-
+ +
  • @@ -70,23 +76,23 @@
-
+
    $explanation):?>
-
+
-
+
-
+
diff --git a/theme/admin/html/page/search.php b/theme/admin/html/page/search.php index a48f604..6506d34 100644 --- a/theme/admin/html/page/search.php +++ b/theme/admin/html/page/search.php @@ -2,10 +2,10 @@

text('search_page_desc')?>

-
+
-
+
@@ -14,4 +14,4 @@ -
\ No newline at end of file +
-- cgit v1.2.3