From 5f123e3963f4b8c422fdb0ea86cd655f53ee2733 Mon Sep 17 00:00:00 2001 From: Keith Daulton Date: Thu, 6 Oct 2022 02:12:36 -0400 Subject: [PATCH] Hides text labels on home nav when small width --- src/webviews/apps/home/home.html | 6 +++--- src/webviews/apps/home/home.scss | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/webviews/apps/home/home.html b/src/webviews/apps/home/home.html index 3ad7c47727ec6..12afa52251430 100644 --- a/src/webviews/apps/home/home.html +++ b/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" - > What's NewWhat's New HelpHelp FeedbackFeedback
diff --git a/src/webviews/apps/home/home.scss b/src/webviews/apps/home/home.scss index ef2aac232b457..a3e1ba585ff7f 100644 --- a/src/webviews/apps/home/home.scss +++ b/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; + } + } } } }