1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Fix anchor-linked content being hidden behind sticky issue header and project jump in responsive UI (#42684, #42774).

Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23808 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2025-05-30 06:33:59 +00:00
parent 1acedd1cbc
commit 1545119ff0

View File

@ -854,6 +854,13 @@
div#sticky-issue-header {
top: 64px;
}
/* Prevent content from being hidden behind #sticky-issue-header and project-jump when scrolling via anchor links. */
.controller-issues.action-show div.wiki a[name],
.controller-issues.action-show #history div[id^="note-"],
.controller-issues.action-show #history div[id^="change-"] {
scroll-margin-top: 114px;
}
}
@media all and (max-width: 599px) {