Skip to content

Commit

Permalink
Hides text labels on home nav when small width
Browse files Browse the repository at this point in the history
  • Loading branch information
d13 committed Oct 6, 2022
1 parent b71742d commit 5f123e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/webviews/apps/home/home.html
Expand Up @@ -15,21 +15,21 @@
href="https://help.gitkraken.com/gitlens/gitlens-release-notes-current/"
aria-label="What's New"
title="What's New"
><span class="codicon codicon-rocket"></span> What's New</a
><span class="codicon codicon-rocket"></span><span>What's New</span></a
>
<a
class="inline-nav__link inline-nav__link--text"
href="https://help.gitkraken.com/gitlens/gitlens-home/"
aria-label="Help Center"
title="Help Center"
><span class="codicon codicon-question"></span>Help</a
><span class="codicon codicon-question"></span><span>Help</span></a
>
<a
class="inline-nav__link inline-nav__link--text"
href="https://github.com/gitkraken/vscode-gitlens/issues"
aria-label="Feedback"
title="Feedback"
><span class="codicon codicon-feedback"></span>Feedback</a
><span class="codicon codicon-feedback"></span><span>Feedback</span></a
>
</div>
<div class="inline-nav__group">
Expand Down
6 changes: 6 additions & 0 deletions src/webviews/apps/home/home.scss
Expand Up @@ -201,6 +201,12 @@ ul {
gap: 0.2rem;
min-width: 2.2rem;
width: fit-content;

@media (max-width: 368px) {
> :last-child {
display: none;
}
}
}
}
}
Expand Down

0 comments on commit 5f123e3

Please sign in to comment.