Navbar: Add media query to prevent overflow (#17)

Reviewed-on: https://projects.blender.org/infrastructure/gitea-custom/pulls/17
This commit is contained in:
Bart van der Braak
2025-11-13 17:35:49 +01:00
parent 9f98e45080
commit 72a6c9031d
2 changed files with 8 additions and 3 deletions

View File

@@ -39,6 +39,5 @@
</div> </div>
</div> </div>
<a class="item" href="{{AppSubUrl}}/blender/blender/issues/new?template=.gitea%2fissue_template%2fbug.yaml">Report a Bug</a> <a class="item hide-on-mid" href="{{AppSubUrl}}/blender/blender/issues/new?template=.gitea%2fissue_template%2fbug.yaml">Report a Bug</a>
<a class="item hide-on-mid" href="{{AppSubUrl}}/paste/">Paste Code</a>
<a class="item" href="{{AppSubUrl}}/paste/">Paste Code</a>

View File

@@ -70,6 +70,12 @@
display: none; display: none;
} }
@media (max-width: 1000px) {
.hide-on-mid {
display: none !important;
}
}
/* Repository page. */ /* Repository page. */
.repository .file-view.markdown a { .repository .file-view.markdown a {
color: var(--color-primary); color: var(--color-primary);