Closed devhoussam1998 closed 4 months ago
I'm also getting this so doesn't appear to be a one off.
Removing w-full from the login section and replacing with w-1/2 fixes the issue for me. Seems to be that the login panel is dictating the wrong width.
Hey @devhoussam1998 and @Jam0r85
It looks like you haven't registered the views in your custom theme and ran npm run build
in your terminal.
If you created a custom theme like 'admin', navigate to /resources/css/filament/admin
and add the following to your content array in tailwind.config.js:
content: [
'./vendor/diogogpinto/filament-auth-ui-enhancer/resources/**/*.blade.php',
]
After, you should run npm run build
in your terminal.
You should note that this plugin requires a custom theme to run.
I've 110% loaded this into my tailwind.config.js and still having the issue.
I've 110% loaded this into my tailwind.config.js and still having the issue.
Do you have any repo I can replicate to test this out? In all the tests we've run we never found this issue.
I don't at the moment i'm afraid. Mobile works fine? I'll see if I can sort one.
I don't at the moment i'm afraid. Mobile works fine? I'll see if I can sort one.
Weird. Would you mind sharing your plugin config methods? Or paste this one to test out:
AuthUIEnhancerPlugin::make()
->showEmptyPanelOnMobile(false)
->formPanelPosition('right')
->formPanelWidth('40%')
->emptyPanelBackgroundImageOpacity('70%')
->emptyPanelBackgroundImageUrl('https://images.pexels.com/photos/466685/pexels-photo-466685.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2')
AuthUIEnhancerPlugin::make()
->formPanelBackgroundColor(Color::Zinc, 300)
->formPanelPosition('right')
->mobileFormPanelPosition('bottom')
->formPanelWidth('40%')
->emptyPanelBackgroundImageUrl('https://images.unsplash.com/photo-1496449903678-68ddcb189a24?q=80&w=2670&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'),
Hey @devhoussam1998 and @Jam0r85
It looks like you haven't registered the views in your custom theme and ran
npm run build
in your terminal.If you created a custom theme like 'admin', navigate to
/resources/css/filament/admin
and add the following to your content array in tailwind.config.js:content: [ './vendor/diogogpinto/filament-auth-ui-enhancer/resources/**/*.blade.php', ]
After, you should run
npm run build
in your terminal.You should note that this plugin requires a custom theme to run.
thanks it works
I just add './vendor/diogogpinto/filament-auth-ui-enhancer/resources/**/*.blade.php',
in /resources/css/filament/admin/tailwind.config.js
AuthUIEnhancerPlugin::make() ->formPanelBackgroundColor(Color::Zinc, 300) ->formPanelPosition('right') ->mobileFormPanelPosition('bottom') ->formPanelWidth('40%') ->emptyPanelBackgroundImageUrl('https://images.unsplash.com/photo-1496449903678-68ddcb189a24?q=80&w=2670&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'),
Whenever possible, please share a repo and open a new issue so we can debug this further. This seems more like a tailwind config thing, as many people were able to run the plugin.
Please reach out when ready! Thank you so much for your feedback, is greatly appreciated.
This definitely does not work out of the box and I can confirm it looks identical to the original poster here. I had to add custom CSS to get it to not do that:
.custom-auth-form-panel {
width: var(--form-panel-width) !important;
}
This definitely does not work out of the box and I can confirm it looks identical to the original poster here. I had to add custom CSS to get it to not do that:
.custom-auth-form-panel { width: var(--form-panel-width) !important; }
@tominal It worked for previous users and has worked out of the box for more than 6 panels I’m running in production until a couple of releases ago (haven’t upgraded the production websites just yet).
This night or tomorrow I will make a video installing the plugin from scratch in a fresh installation just to see if it works or not.
To say that it “definitely” does not work out of the box when thousand of other people have used it with no issues is quite a stretch and a bit, just a tiny bit maybe, misleading.
This definitely does not work out of the box and I can confirm it looks identical to the original poster here. I had to add custom CSS to get it to not do that:
.custom-auth-form-panel { width: var(--form-panel-width) !important; }
@tominal It worked for previous users and has worked out of the box for more than 6 panels I’m running in production until a couple of releases ago (haven’t upgraded the production websites just yet).
This night or tomorrow I will make a video installing the plugin from scratch in a fresh installation just to see if it works or not.
To say that it “definitely” does not work out of the box when thousand of other people have used it with no issues is quite a stretch and a bit, just a tiny bit maybe, misleading.
Looking forward to the video!
@tominal I was almost heading to bed when I got an email with the notification. Here you go, a 3min and 35 sec video setting up Laravel and Filament from scratch with the plugin working out of the box, as promised.
https://github.com/user-attachments/assets/cb776f59-59fc-4a6a-bf3b-3e97d08107fd
(the video is long because I'm tired AF)
Maybe a CSS attribute not supported on Arc, yet? Does your Chrome browser show the same thing?
Maybe a CSS attribute not supported on Arc, yet? Does your Chrome browser show the same thing?
Arc is chrome based, so the output should be similar. In the mobile browsers (Arc search, chrome and safari everything’s working as expected on prod apps)
In bed now but will update you tomorrow.
Maybe a CSS attribute not supported on Arc, yet? Does your Chrome browser show the same thing?
Here's a Safari, Chrome and Arc screenshot
What happened?
thei mage not displayed as expected I follow the README
How to reproduce the bug
Package Version
v1.0.1
PHP Version
^8.2
Laravel Version
^11.9
Which operating systems does with happen with?
macOS
Notes
No response