munkireport / munkireport-php

A reporting tool for munki
MIT License
392 stars 138 forks source link

WIP: Dropdown navigation overflows the screen, cant scroll down #1501

Open mosen opened 1 year ago

mosen commented 1 year ago

Quoting precursorca, in v6:

- The dropdown menus for "Reports" and "Listings" do not scroll so items may be cut off from display. ie. those below the scroll line are inaccessible

One possible fix for this is to edit the MR.Blade file:
/munkireport-php/resources/views/layouts/mr.blade.php

by adding 'pre-scrollable' to the div class as follows:

Change:
<div class="report dropdown-menu" aria-labelledby="dashboardsMenuLink">
to:
<div class="report dropdown-menu pre-scrollable" aria-labelledby="dashboardsMenuLink">

and,

Change:
<div class="listing dropdown-menu" aria-labelledby="listingMenuLink">
to:
<div class="listing dropdown-menu pre-scrollable" aria-labelledby="listingMenuLink">

To work for custom Dashboards in /local you also have to edit:

/munkireport-php/resources/views/partials/head.php

by adding 'pre-scrollable' to the div class as follows:

Change:
<div class="report dropdown-menu">
To:
<div class="report dropdown-menu pre-scrollable">

and,

Change:
<div class="listing dropdown-menu">
To:
<div class="listing dropdown-menu pre-scrollable">