stechstudio / filament-impersonate

Filament plugin that makes it easy to impersonate your users
271 stars 55 forks source link

Display issue #59

Closed gergo85 closed 9 months ago

gergo85 commented 1 year ago

display-issue

MarJose123 commented 1 year ago

display-issue

duplicate issues, here are some temporary fixes #54

gergo85 commented 1 year ago

Thank you for your help!

aurawindsurfing commented 11 months ago

same issue here, anyone figured out the fix, please?

gergo85 commented 11 months ago

@aurawindsurfing My solution:

I added the following function in AdminPanelProvider.php:

public function boot(): void
{
    FilamentAsset::register([
        Css::make('custom-stylesheet', public_path('css/app/custom-stylesheet.css')),
    ]);
}

The content of custom-stylesheet.css is:

div.fi-layout > aside.fi-sidebar {
    padding-top: 0 !important;
}
aurawindsurfing commented 11 months ago

Hey @gergo85

It does the job, not perfect bug good enough. Maybe lest add it to the description of the plugin, or you are waiting for some filament to commit your pull request?

gergo85 commented 11 months ago

I see that the plugin developer is currently inactive. I'm sure he'll fix it when he starts working on the plugin again.

nlvrendell commented 10 months ago

On v3.5 : This code solved my issue

aside.fi-sidebar > div.overflow-x-clip {
    overflow-x: clip;
    position: sticky;
    top: var(--impersonate-banner-height);
    z-index: 20;
}

div.fi-layout > aside.fi-sidebar {
    padding-top: 0 !important;
}
V13Axel commented 9 months ago

Should be fixed as of 3.6, just released