fix: pc侧边栏显示
This commit is contained in:
parent
9d110203da
commit
7be50ad743
@ -59,7 +59,7 @@ $base-style
|
|||||||
padding 1rem 1.5rem
|
padding 1rem 1.5rem
|
||||||
tbody
|
tbody
|
||||||
tr:nth-child(2n)
|
tr:nth-child(2n)
|
||||||
background-color rgba(froth, .25)
|
background-color transparent
|
||||||
|
|
||||||
blockquote
|
blockquote
|
||||||
display block
|
display block
|
||||||
|
@ -204,6 +204,11 @@
|
|||||||
$sidebar.removeClass('on');
|
$sidebar.removeClass('on');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (window.matchMedia("(min-width: 768px)").matches) {
|
||||||
|
$content.addClass('on');
|
||||||
|
$sidebar.addClass('on');
|
||||||
|
}
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user