Odd styling difference dev vs prod

Hi on DEV I have this (nicely-formatted "menu" from cliking the user initials). On PROD this appears full-width. As the PROD environment is built from DEV and updated via a "git pull origin master" command, I am at a loss to understand what might cause this - any suggestions? thanks optimistically, j
No description
No description
Solution:
Did you run php artisan filament:upgrade after deployment?
Jump to solution
5 Replies
Matthew
Matthew5d ago
Hmm, could be: 1) You need to run npm run build 2) You need to remove published views
jjo63
jjo63OP5d ago
Thanks - "remove published views" - can you clarify? I performed step 1 but didn't seem to make a difference.
Matthew
Matthew5d ago
yeah then it was a published view issue. Things usually change in the UI and break, but if you pucblish the views, then filament will use the published views and NOT the newest views from github. It is generally not reccomended to publish filament views because things can break sometimes So only do it if you know what you are doing
Solution
Dennis Koch
Dennis Koch5d ago
Did you run php artisan filament:upgrade after deployment?
jjo63
jjo63OP4d ago
No I hadn't - but have now / cleared browser cache and now the problem is gone 🙂 Thx for the info!

Did you find this page helpful?