浏览代码

Hides text labels on home nav when small width

main
Keith Daulton 2 年前
父节点
当前提交
5f123e3963
共有 2 个文件被更改,包括 9 次插入3 次删除
  1. +3
    -3
      src/webviews/apps/home/home.html
  2. +6
    -0
      src/webviews/apps/home/home.scss

+ 3
- 3
src/webviews/apps/home/home.html 查看文件

@ -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> class="p"><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">

+ 6
- 0
src/webviews/apps/home/home.scss 查看文件

@ -201,6 +201,12 @@ ul {
gap: 0.2rem;
min-width: 2.2rem;
width: fit-content;
@media (max-width: 368px) {
> :last-child {
display: none;
}
}
}
}
}

正在加载...
取消
保存