mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-19 18:42:34 +00:00
Remove sidebar.onmobile option
* See: https://github.com/iissnan/hexo-theme-next/pull/1717
This commit is contained in:
parent
6159874b40
commit
5d2f92e6b5
@ -151,8 +151,6 @@ sidebar:
|
|||||||
padding: 18
|
padding: 18
|
||||||
# Sidebar offset from top menubar in pixels (only for Pisces | Gemini).
|
# Sidebar offset from top menubar in pixels (only for Pisces | Gemini).
|
||||||
offset: 12
|
offset: 12
|
||||||
# Enable sidebar on narrow view (only for Muse | Mist).
|
|
||||||
onmobile: false
|
|
||||||
|
|
||||||
# Sidebar Avatar
|
# Sidebar Avatar
|
||||||
avatar:
|
avatar:
|
||||||
|
|||||||
@ -11,10 +11,6 @@
|
|||||||
|
|
||||||
+tablet-mobile() {
|
+tablet-mobile() {
|
||||||
opacity: $b2t-opacity-hover;
|
opacity: $b2t-opacity-hover;
|
||||||
|
|
||||||
if (!hexo-config('sidebar.onmobile')) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -6,12 +6,6 @@
|
|||||||
}
|
}
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
||||||
+tablet-mobile() {
|
|
||||||
if (!hexo-config('sidebar.onmobile')) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-inner {
|
.sidebar-inner {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user