修复移动端目录悬浮球,修复文章页布局,优化画廊
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
import ThemeSwitcher from "./ThemeSwitcher.vue";
|
||||
import ThemeSwitcher from "./ThemeSwitcher.astro";
|
||||
---
|
||||
|
||||
<header class="wi-navbar-wrapper" id="wi-navbar" th:classappend="${theme.config?.navbar?.navbar_style == 'minimal'} ? 'wi-navbar--minimal' : (${theme.config?.navbar?.navbar_style == 'float'} ? 'wi-navbar--float' : 'wi-navbar--glass')">
|
||||
@@ -10,6 +10,8 @@ import ThemeSwitcher from "./ThemeSwitcher.vue";
|
||||
th:src="${theme.config?.basic?.logo}"
|
||||
alt=""
|
||||
class="wi-navbar__logo"
|
||||
loading="eager"
|
||||
decoding="async"
|
||||
/>
|
||||
<span
|
||||
th:if="${#strings.isEmpty(theme.config?.basic?.logo)}"
|
||||
@@ -42,7 +44,7 @@ import ThemeSwitcher from "./ThemeSwitcher.vue";
|
||||
<div class="wi-navbar__actions">
|
||||
<button
|
||||
th:if="${pluginFinder.available('PluginSearchWidget') and theme.config?.navbar?.navbar_show_search != false}"
|
||||
class="wi-navbar__action-btn"
|
||||
class="wi-navbar__action-btn wi-navbar__search-btn"
|
||||
type="button"
|
||||
th:aria-label="${theme.config?.basic?.label_search ?: #messages.msg('common.search')}"
|
||||
onclick="SearchWidget.open()"
|
||||
@@ -52,7 +54,7 @@ import ThemeSwitcher from "./ThemeSwitcher.vue";
|
||||
|
||||
<th:block th:if="${theme.config?.navbar?.navbar_show_theme_switch != false}">
|
||||
<span th:attr="data-label=${theme.config?.basic?.label_theme_switch ?: #messages.msg('common.themeSwitch')}" style="display:inline-flex">
|
||||
<ThemeSwitcher client:idle />
|
||||
<ThemeSwitcher />
|
||||
</span>
|
||||
</th:block>
|
||||
|
||||
@@ -315,8 +317,9 @@ import ThemeSwitcher from "./ThemeSwitcher.vue";
|
||||
display: none;
|
||||
}
|
||||
|
||||
.wi-navbar__action-btn[aria-label="Search"] {
|
||||
display: none;
|
||||
.wi-navbar__action-btn {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.wi-navbar__menu-btn {
|
||||
|
||||
Reference in New Issue
Block a user