[Bug 23840] New: Overlap of top menu
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 Bug ID: 23840 Summary: Overlap of top menu Change sponsored?: --- Product: Koha Version: 19.05 Hardware: All OS: All Status: NEW Severity: trivial Priority: P5 - low Component: Staff Client Assignee: koha-bugs@lists.koha-community.org Reporter: fraktik@gmail.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Created attachment 94403 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94403&action=edit picture of graphical overlap of top menu For more then one or two SHORT links in IntranetNav variable in Staff Client Preferences (Appearance) and variable window size there is some interval of page width, when an visual overlap between top menu from the right one (user/library related & Help) to the left one(general) happen. In previous version this do not happen (right menu jump one row down instead). Examples of both is shown in an attachment: 19.05: https://i.imgur.com/4aVrcRt.png 18.11: https://i.imgur.com/y4iJeMD.png -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- Could you please post the HTML in your IntranetNav preference? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 --- Comment #2 from Tomáš Wünsch <fraktik@gmail.com> --- Just couple simple links: <li><a href="/kcenter2/" target="_blank">Centrum</a></li> <li><a href="https://vufind.knihovna-uo.cz/vufind/Search/" target="_blank">Katalog</a></li> <li><a href="https://www.knihovna-uo.cz/staff/" target="_blank">Rozcestník</a></li> <li><a href="https://vufind.knihovna-uo.cz/piwik/" target="_blank">Statistiky</a></li> But you do not need more links, one long enough as: <li><a href="https://center.koha.cz/demo" target="_blank">Center___empty____space____here_for_very_long_link___</a></li> do exactly the same result. If you are not able to recreate this behaviour, you can check it on our demo (demo/demo for login): https://demo.koha.cz/cgi-bin/koha/mainpage.pl (but changed url will stick there just for today - we have midnight cleanup in place there). -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 --- Comment #3 from Owen Leonard <oleonard@myacpl.org> --- A temporary fix would be to put your links into a menu: <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Menu <b class="caret"></b></a> <ul class="dropdown-menu dropdown-menu-right"> <li><a href="/kcenter2/" target="_blank">Centrum</a></li> <li><a href="https://vufind.knihovna-uo.cz/vufind/Search/" target="_blank">Katalog</a></li> <li><a href="https://www.knihovna-uo.cz/staff/" target="_blank">Rozcestník</a></li> <li><a href="https://vufind.knihovna-uo.cz/piwik/" target="_blank">Statistiky</a></li> <li><a href="https://center.koha.cz/demo" target="_blank">Center___empty____space____here_for_very_long_link___</a></li> </ul> </li> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org Version|19.05 |master -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Overlap of top menu |IntranetNav causes overlap | |of top menu -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 --- Comment #4 from Nick Clemens <nick@bywatersolutions.com> --- Created attachment 138814 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=138814&action=edit Bug 23840: Remove 'top' from user-menu placement When IntranetNav gets long it can overlap with the user menu. This patch removes the 'top' alignment so that it can move down to allow for longer menus To test: 1 - Add to IntranetNav a list of links that will interfere with display: <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> 2 - Load a page in staff client 3 - note the current 'user-menu' overlaps with links 4 - Apply patch 5 - Build css: yarn build 6 - Reload 7 - Confirm user menu is now below the links -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrewfh@dubcolib.org, | |oleonard@myacpl.org Assignee|koha-bugs@lists.koha-commun |nick@bywatersolutions.com |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #138814|0 |1 is obsolete| | --- Comment #5 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 138825 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=138825&action=edit Bug 23840: Remove 'top' from user-menu placement When IntranetNav gets long it can overlap with the user menu. This patch removes the 'top' alignment so that it can move down to allow for longer menus To test: 1 - Add to IntranetNav a list of links that will interfere with display: <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> <li><a href="#" target=_blank>Link</a></li> 2 - Load a page in staff client 3 - note the current 'user-menu' overlaps with links 4 - Apply patch 5 - Build css: yarn build 6 - Reload 7 - Confirm user menu is now below the links Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 Andrew Fuerste-Henry <andrewfh@dubcolib.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 --- Comment #6 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Looks good to me. Owen, could we have your stamp on this one, side-effects possible? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 --- Comment #7 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 138893 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=138893&action=edit Screenshot showing unwanted alignment The adverse side-effect of this is more obvious if you have custom CSS highlighting the division between the menu bar and the search header area. I don't think this is the correct solution for this problem. I also don't know that we should be trying to solve this problem right now when we're hoping to get bug 30952 through testing. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23840 --- Comment #8 from Owen Leonard <oleonard@myacpl.org> --- Following the upgrade to Bootstrap 5 I think the navbar has better responsive behavior. Folks who want to be able to load up the menu with lots of things could add to IntranetUserCSS: #header { flex-wrap: wrap } -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org