Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

for #1177: add a <a> element on page title to support link to home #1178

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/style/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1356,3 +1356,8 @@ div.gitDemonstrationView {
left: 21px;
opacity: 0.4;
}

a.home-link {
text-decoration: none;
cursor: alias;
}
12 changes: 7 additions & 5 deletions src/template.index.html
Original file line number Diff line number Diff line change
Expand Up @@ -395,11 +395,13 @@ <h2>
</div>
<div>
<label for="commandTextField">
<i aria-hidden="true" class="icon-home"></i>
<span class="visuallyHidden">Terminal &ndash;</span>
<span class="vcs-mode-aware intl-aware" data-intl="learn-git-branching">
Learn Git Branching
</span>
<a href="./index.html?NODEMO" class="home-link">
<i aria-hidden="true" class="icon-home"></i>
<span class="visuallyHidden">Terminal &ndash;</span>
<span class="vcs-mode-aware intl-aware" data-intl="learn-git-branching">
Learn Git Branching
</span>
</a>
</label>
</div>
</div>
Expand Down
Loading