From 72a6c9031d96d08a2f1a0a609205624c1f0bcc8b Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Thu, 13 Nov 2025 17:35:49 +0100 Subject: [PATCH] Navbar: Add media query to prevent overflow (#17) Reviewed-on: https://projects.blender.org/infrastructure/gitea-custom/pulls/17 --- templates/custom/extra_links.tmpl | 5 ++--- templates/custom/header.tmpl | 6 ++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/templates/custom/extra_links.tmpl b/templates/custom/extra_links.tmpl index b31136b..9264c89 100644 --- a/templates/custom/extra_links.tmpl +++ b/templates/custom/extra_links.tmpl @@ -39,6 +39,5 @@ -Report a Bug - -Paste Code +Report a Bug +Paste Code diff --git a/templates/custom/header.tmpl b/templates/custom/header.tmpl index 0d7d750..21de239 100644 --- a/templates/custom/header.tmpl +++ b/templates/custom/header.tmpl @@ -70,6 +70,12 @@ display: none; } + @media (max-width: 1000px) { + .hide-on-mid { + display: none !important; + } + } + /* Repository page. */ .repository .file-view.markdown a { color: var(--color-primary);