aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/post/search.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-13 00:14:38 +0200
committerThomas Lange <code@nerdmind.de>2021-06-13 00:14:38 +0200
commite5da1f532334a265e1b1c88d2a942e92654370d6 (patch)
treea9dcd34ac032acbba2b2798d529d2f7dcf806c56 /theme/admin/html/post/search.php
parent78621a37ee08ecf4c9aa8faa42ddf2907a6ee406 (diff)
downloadblog-e5da1f532334a265e1b1c88d2a942e92654370d6.tar.gz
blog-e5da1f532334a265e1b1c88d2a942e92654370d6.tar.xz
blog-e5da1f532334a265e1b1c88d2a942e92654370d6.zip
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/
Diffstat (limited to 'theme/admin/html/post/search.php')
-rw-r--r--theme/admin/html/post/search.php6
1 files changed, 3 insertions, 3 deletions
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 @@
<p><?=$Language->text('search_post_desc')?></p>
<form id="search-form" method="GET">
- <div class="flex flex-padding background">
+ <div class="form-border-box background padding">
<input id="search-text" type="search" name="q" placeholder="<?=$Language->text('placeholder_search')?>" value="<?=escapeHTML($QUERY)?>" />
</div>
- <div class="flex flex-padding background">
+ <div class="form-border-box background padding">
<input id="update-button" type="submit" value="<?=$Language->text('search')?>" />
</div>
</form>
@@ -14,4 +14,4 @@
<?php foreach($POSTS as $post): ?>
<?php echo $post; ?>
<?php endforeach; ?>
-</div> \ No newline at end of file
+</div>