laravel / nova-issues

554 stars 35 forks source link

Dashboard Card Help Text Disappears Off Screen #2549

Closed mdavis1982 closed 3 years ago

mdavis1982 commented 4 years ago

Description:

When the last card on a dashboard has some help text, it disappears off screen:

image

Steps To Reproduce:

Add some help text to the last card in a row.

preliot commented 4 years ago

Same issue over here. Also can't read rest of help text with vertical (brower) scrollbar.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

preliot commented 4 years ago

Still an issue dear stale bot..

sanderbaas commented 3 years ago

I use this ugly css workaround untill this issue is resolved.

[id^=popover] {
  margin-left: -250px;
}

Custom css can be loaded by adding a Nova style in the NovaServiceProvider boot method:

    public function boot()
    {
        parent::boot();

        Nova::style('custom-theme', 'css/custom-nova.css');
    }
preliot commented 3 years ago

@sanderbaas Copied your code in my already existing custom theme, works! Thanks!

crynobone commented 3 years ago

Tried multiple configuration changes but nothing seem to work. Some finding regarding the package:

Using above CSS may work for this case by it might be risky to have it as default in the core as it might not work with placement other than top and bottom.

mdavis1982 commented 3 years ago

@crynobone In a project where I had this issue with Popper JS (reported here: https://github.com/popperjs/popper-core/issues/457), I ended up using the HubSpot Tether library (http://tether.io) which doesn't have this issue.

crynobone commented 3 years ago

@mdavis1982 thank you for the info. Will look into this soon.

jonnott commented 3 years ago

Still not fixed as of 3.21 :(

crynobone commented 3 years ago

PR to change placement from top to top-start has been accepted.

CleanShot 2021-02-05 at 08 32 00

crynobone commented 3 years ago

Fixed and released on v3.21.1

github-actions[bot] commented 2 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.