HDInnovations / UNIT3D-Community-Edition

Private Torrent Tracker Built With Laravel, Livewire and AlpineJS.
https://unit3d.dev
GNU Affero General Public License v3.0
1.91k stars 365 forks source link

[Bug] font awesome 6.5.1 vs 5.14.4 #3702

Open BitPyrate opened 3 months ago

BitPyrate commented 3 months ago

UNIT3D Version

8.0.1

PHP & Platform

8.3.2-1+ubuntu22.04.1+deb.sury.org+1

Laravel verion

10.48.4

Have you done this?

Expectation

set an icon to a newer icon from font awesome

Description

the newer version font awesome fonts do work in some areas but not others example if you set the group icon to: fa-solid fa-worm

it shows up in the group manager. but everywhere else it fails to load.

the failure to load does seem to be tied to how it handles the version.

i suspect it's stylisation related it may not be practical to fix, but it possibly should be noted.

Stack trace & logs

No response

Upvote & Fund

Fund with Polar

BitPyrate commented 3 months ago

this is a bad example as "fas fa-worm" works however not all 6.5.1 have a "fas" equivalent

HDVinnie commented 3 months ago

You need to use shorthand. fa-solid would be fas.

fas, far, fat, fal, fad, etc

BitPyrate commented 3 months ago

would that also apply to: "fa-brands fa-phoenix-framework"