Bug 23840 - IntranetNav causes overlap of top menu
Summary: IntranetNav causes overlap of top menu
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff Client (show other bugs)
Version: master
Hardware: All All
: P5 - low trivial (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-18 12:16 UTC by Tomáš Wünsch
Modified: 2020-02-12 10:54 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Text to go in the release notes:
Version(s) released in:


Attachments
picture of graphical overlap of top menu (24.82 KB, image/png)
2019-10-18 12:16 UTC, Tomáš Wünsch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Wünsch 2019-10-18 12:16:44 UTC
Created attachment 94403 [details]
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
Comment 1 Owen Leonard 2019-10-20 00:17:41 UTC
Could you please post the HTML in your IntranetNav preference?
Comment 2 Tomáš Wünsch 2019-10-24 06:56:09 UTC
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).
Comment 3 Owen Leonard 2019-10-24 13:31:14 UTC
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>