diff --git a/layout/_partial/sidebar/header.ejs b/layout/_partial/sidebar/header.ejs index 1568e35..c0278e6 100644 --- a/layout/_partial/sidebar/header.ejs +++ b/layout/_partial/sidebar/header.ejs @@ -29,9 +29,6 @@ function layoutDiv() { el += ' mobile-only'; } el += '">'; - if (where == 'main') { - el += ''; - } el += partial('logo'); if (where != 'main') { if (page.layout === 'wiki' && page.wiki) { diff --git a/source/css/_layout/layout.styl b/source/css/_layout/layout.styl index 6f85242..e452e6b 100644 --- a/source/css/_layout/layout.styl +++ b/source/css/_layout/layout.styl @@ -22,7 +22,7 @@ // iPad 竖屏 @media screen and (max-width: $device-tablet) .mobile-only - display: flex !important + display: block !important .l_body padding: 0 .l_left diff --git a/source/css/_layout/main.styl b/source/css/_layout/main.styl index ccf102c..96d41b6 100644 --- a/source/css/_layout/main.styl +++ b/source/css/_layout/main.styl @@ -8,10 +8,5 @@ padding-top: "calc(2 * %s)" % var(--gap-l) header margin: 3rem 1rem 2rem - .sidebar-toggle - margin-right: .5rem - font-size: 1.25rem - background: none - color: var(--text-p1) .logo-wrap margin: 0