| Строка 643: |
Строка 643: |
| | } | | } |
| | | | |
| − | /* ===== FIX: крестик в поиске не наезжает на текст ===== */ | + | /* ===== FIX: крестик не наезжает на текст ===== */ |
| | | | |
| − | .search-box .search, | + | /* увеличиваем отступ текста */ |
| − | .header .search-box .search {
| + | .search-box input[type="search"], |
| − | padding-right: 42px !important; /* место под крестик */ | + | .search-box .search { |
| | + | padding-right: 44px !important; |
| | + | position: relative !important; |
| | } | | } |
| | | | |
| − | /* конкретно для WebKit (Chrome, Safari) */ | + | /* двигаем сам крестик */ |
| − | .search-box input::-webkit-search-cancel-button { | + | .search-box input[type="search"]::-webkit-search-cancel-button { |
| − | margin-right: 8px !important; | + | position: relative !important; |
| − | }
| + | right: -6px !important; /* двигаем вправо */ |
| − | | + | cursor: pointer; |
| − | /* для Firefox (на всякий случай) */ | |
| − | .search-box input[type="search"] {
| |
| − | padding-right: 42px !important; | |
| | } | | } |