mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
fix(navbar): 修复移动端不显示搜索框问题
This commit is contained in:
parent
4b1959fe31
commit
2274303da9
@ -1098,8 +1098,9 @@ table td, table th {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-searchicon {
|
&-searchicon {
|
||||||
|
display: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 18px !important;
|
font-size: 23px !important;
|
||||||
color: var(--main);
|
color: var(--main);
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
|
||||||
@ -3937,11 +3938,7 @@ button.swiper-pagination-bullet {
|
|||||||
padding: 0 0.75rem;
|
padding: 0 0.75rem;
|
||||||
|
|
||||||
.navbar-searchicon {
|
.navbar-searchicon {
|
||||||
font-size: 23px!important;
|
display: block;
|
||||||
|
|
||||||
span {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-search {
|
.navbar-search {
|
||||||
|
2
templates/assets/css/style.min.css
vendored
2
templates/assets/css/style.min.css
vendored
File diff suppressed because one or more lines are too long
@ -62,6 +62,7 @@
|
|||||||
<div th:if="${pluginFinder.available('PluginSearchWidget')}" class="navbar-search">
|
<div th:if="${pluginFinder.available('PluginSearchWidget')}" class="navbar-search">
|
||||||
<button onclick="javascript:SearchWidget.open();" class="submit" aria-label="搜索按钮" style="border-radius: 17px;"><i class="ri-search-line"></i></button>
|
<button onclick="javascript:SearchWidget.open();" class="submit" aria-label="搜索按钮" style="border-radius: 17px;"><i class="ri-search-line"></i></button>
|
||||||
</div>
|
</div>
|
||||||
|
<i class="ri-search-line navbar-searchicon" onclick="javascript:SearchWidget.open();"></i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user