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/post/form.php | 86 +++++++++++++++++++++------------------- theme/admin/html/post/search.php | 6 +-- 2 files changed, 49 insertions(+), 43 deletions(-) (limited to 'theme/admin/html/post') diff --git a/theme/admin/html/post/form.php b/theme/admin/html/post/form.php index e6966ea..58ac122 100644 --- a/theme/admin/html/post/form.php +++ b/theme/admin/html/post/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/post/search.php b/theme/admin/html/post/search.php index 4476786..1289879 100644 --- a/theme/admin/html/post/search.php +++ b/theme/admin/html/post/search.php @@ -2,10 +2,10 @@

text('search_post_desc')?>

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