From 0d522cf5f1fb26f4f0ec02d9078e0c7c31632ace Mon Sep 17 00:00:00 2001 From: Semenov Date: Fri, 19 Mar 2021 22:59:32 +0300 Subject: [PATCH] dev --- src/assets/src/css/components/header.css | 1 + src/views/headers/_header-search.php | 35 ++++++++++++++---------- src/views/headers/header-mobile.php | 3 ++ 3 files changed, 24 insertions(+), 15 deletions(-) diff --git a/src/assets/src/css/components/header.css b/src/assets/src/css/components/header.css index 7080e48..14e33ca 100644 --- a/src/assets/src/css/components/header.css +++ b/src/assets/src/css/components/header.css @@ -132,6 +132,7 @@ left: 0; right: 0; z-index: 1; + width: 100%; } } diff --git a/src/views/headers/_header-search.php b/src/views/headers/_header-search.php index d76504f..a90fcd7 100644 --- a/src/views/headers/_header-search.php +++ b/src/views/headers/_header-search.php @@ -7,24 +7,29 @@ */ \skeeks\assets\unify\base\UnifyIconSimpleLineAsset::register($this); $this->registerJs(<< @@ -33,7 +38,7 @@
- ..." type="text" class="form-control rounded-0" + ..." type="text" class="form-control rounded-0" name="cmsSearch->searchQueryParamName; ?>" value="cmsSearch->searchQuery; ?>">
diff --git a/src/views/headers/header-mobile.php b/src/views/headers/header-mobile.php index ade8e15..40c9c9f 100644 --- a/src/views/headers/header-mobile.php +++ b/src/views/headers/header-mobile.php @@ -143,6 +143,9 @@ render("@app/views/headers/_header-search"); ?> + theme->is_header_auth) : ?> + render("@app/views/headers/_header-auth"); ?> +