CSS selector change for plex-alt-logo.css #523
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have read the contributing guideline and understand that I have made the correct modifications
PR's are done against the develop branch.
Bug fixes
Description:
For the plex-alt-logo addon, it looks like Plex changed the class name that was used to select the Plex logo from
NavBar-plexLogo-*
toNavBar-logoContainer-*
. Currently, since the addon is still selecting the old class name the logo is not being replaced, so this PR is to fix that by updating the class name that is being selected.Benefits of this PR and context:
I didn't find any open issues for this, but the benefit here is that this change should fix the plex-alt-logo addon.
How Has This Been Tested?
I forked the project a couple of months ago and followed the instructions for enabling the plex-alt-logo addon. At the time it worked with no issues, but recently I noticed that my custom logo was not replacing the Plex logo anymore. In my forked project, I updated the plex-alt-logo CSS with the new class name and that fixed the issue for me.
Before:
![image](https://private-user-images.githubusercontent.com/18169221/286482907-99b23d1f-e29c-4f6d-883f-7a15581225ae.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzUwMzAsIm5iZiI6MTczODkzNDczMCwicGF0aCI6Ii8xODE2OTIyMS8yODY0ODI5MDctOTliMjNkMWYtZTI5Yy00ZjZkLTg4M2YtN2ExNTU4MTIyNWFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDEzMjUzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJjODc4YTUwZThhNDNlMTQ0MGZmN2QzOWVkNTZkNDViNzhmMjUxYWM2YWU4NjdmNzMyZDUyZWM2ZDI4ZWQ1NzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.JddPe72xHYwz9A78swlRYU6mFc42CTk3DBMqpX8jNsg)
After:
![image](https://private-user-images.githubusercontent.com/18169221/286482538-11aa0f9d-f234-4879-b0f2-a20974c72cb5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzUwMzAsIm5iZiI6MTczODkzNDczMCwicGF0aCI6Ii8xODE2OTIyMS8yODY0ODI1MzgtMTFhYTBmOWQtZjIzNC00ODc5LWIwZjItYTIwOTc0YzcyY2I1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDEzMjUzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZmNDJmNTZhMzA2OWJlYTlmZDQ1ZDZmOTQ1ZjZkZWQ0ZjQ2MDA1NGFiOWFkZWJiYWQzNjliZDdiMDMzNDI3OTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.aCz3v7i1D36tEjcRgpJCt5xoP6fMbGI9XfyAJrG_gfI)
Source / References:
https://docs.theme-park.dev/themes/addons/plex/plex-alt-logo/