From d0deaff7fd302e3f928f73f591b50aeae8af4eb2 Mon Sep 17 00:00:00 2001 From: afeefuddin Date: Tue, 28 Nov 2023 15:25:42 +0530 Subject: [PATCH] portico-header: Dropped find accounts link for smaller windows. Fixes #27477 --- templates/zerver/portico-header.html | 2 +- web/styles/portico/portico.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/zerver/portico-header.html b/templates/zerver/portico-header.html index 9fc3db0b9d..f0410c5b56 100644 --- a/templates/zerver/portico-header.html +++ b/templates/zerver/portico-header.html @@ -45,7 +45,7 @@ {% endif %} {% if not is_self_hosting_management_page and not find_team_link_disabled %} - {{ _('Find accounts') }} + {{ _('Find accounts') }} {{ _('New organization') }} {% endif %} diff --git a/web/styles/portico/portico.css b/web/styles/portico/portico.css index 25b2adbfaa..b818baffd6 100644 --- a/web/styles/portico/portico.css +++ b/web/styles/portico/portico.css @@ -1173,6 +1173,10 @@ input.new-organization-button { } } } + + .top-links .find-accounts-link { + display: none; + } } @media (width <= 500px) {