Commit 114db4fb23df33cfd0fb4106e0cf6cb638caa0ec
1 parent
a251a0b4
tokar commit
Showing
2 changed files
with
5 additions
and
4 deletions
Show diff stats
frontend/views/layouts/main.php
| @@ -120,8 +120,9 @@ AppAsset::register($this); | @@ -120,8 +120,9 @@ AppAsset::register($this); | ||
| 120 | 120 | ||
| 121 | <div class="search-main-menu"> | 121 | <div class="search-main-menu"> |
| 122 | <form action=""> | 122 | <form action=""> |
| 123 | - <input value="1" name="" type="search"/> | ||
| 124 | - <input type="submit" value=""/> | 123 | + <input value="" name="" type="search"/> |
| 124 | + <input type="hidden" value="1" name="" /> | ||
| 125 | + <button type="submit" value=""></button> | ||
| 125 | <div class="search-list"> | 126 | <div class="search-list"> |
| 126 | <span>Проекты</span> | 127 | <span>Проекты</span> |
| 127 | <ul> | 128 | <ul> |
frontend/web/css/style.css
| @@ -258,7 +258,7 @@ ul.main-menu li span:after{ | @@ -258,7 +258,7 @@ ul.main-menu li span:after{ | ||
| 258 | box-sizing: border-box; | 258 | box-sizing: border-box; |
| 259 | padding: 0 5px 0 128px; | 259 | padding: 0 5px 0 128px; |
| 260 | } | 260 | } |
| 261 | -.search-main-menu form input[type="submit"] { | 261 | +.search-main-menu form button[type="submit"] { |
| 262 | width: 29px; | 262 | width: 29px; |
| 263 | height: 29px; | 263 | height: 29px; |
| 264 | position: absolute; | 264 | position: absolute; |
| @@ -4953,7 +4953,7 @@ input.custom-check:checked + label span, input.custom-check:checked + label:hove | @@ -4953,7 +4953,7 @@ input.custom-check:checked + label span, input.custom-check:checked + label:hove | ||
| 4953 | padding-left: 10px; | 4953 | padding-left: 10px; |
| 4954 | box-sizing: border-box; | 4954 | box-sizing: border-box; |
| 4955 | border-right: 1px solid #b7b7b7; | 4955 | border-right: 1px solid #b7b7b7; |
| 4956 | - margin-top: 7px; | 4956 | + margin-top: 5px; |
| 4957 | cursor: pointer; | 4957 | cursor: pointer; |
| 4958 | padding-right: 28px; | 4958 | padding-right: 28px; |
| 4959 | position: relative; | 4959 | position: relative; |