Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d27ba74

Browse files
committed
remove the menu button for mobile
1 parent 16a11e3 commit d27ba74

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/overrides/partials/header.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!-- overwrite:
2+
- scroll to top when clicking title
3+
- go to main page when clicking the site title
4+
- remove the menu button for mobile
5+
-->
16
{% set class = "md-header" %}
27
{% if "navigation.tabs.sticky" in features %}
38
{% set class = class ~ " md-header--lifted" %}
@@ -13,9 +18,6 @@
1318
<a href="{{ config.extra.homepage | d(nav.homepage.url, true) | url }}" title="{{ config.site_name | e }}" class="md-header__button md-logo" aria-label="{{ config.site_name }}" data-md-component="logo">
1419
{% include "partials/logo.html" %}
1520
</a>
16-
<label class="md-header__button md-icon" for="__drawer">
17-
{% include ".icons/material/menu" ~ ".svg" %}
18-
</label>
1921
<div class="md-header__title" data-md-component="header-title">
2022
<div class="md-header__ellipsis">
2123
<div class="md-header__topic">

0 commit comments

Comments
 (0)