diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-13 00:14:38 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-13 00:14:38 +0200 |
commit | e5da1f532334a265e1b1c88d2a942e92654370d6 (patch) | |
tree | a9dcd34ac032acbba2b2798d529d2f7dcf806c56 /theme/admin/html/page/search.php | |
parent | 78621a37ee08ecf4c9aa8faa42ddf2907a6ee406 (diff) | |
download | blog-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/page/search.php')
-rw-r--r-- | theme/admin/html/page/search.php | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ <p><?=$Language->text('search_page_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($PAGES as $page): ?> <?php echo $page; ?> <?php endforeach; ?> -</div>
\ No newline at end of file +</div> |