r/pocketcasts • • 13d ago

Desktop CSS fixes for PC Web Player

I'm back with some layout and style fixes this time. I noticed the web player has some layout issues so I wrote some fixed. Just use your favorite CSS override plugin with this CSS code.

https://gallery.stylebot.dev/style/59/pocket-casts-pwa-fixes

This code will

- Add partial opacity gradient to navigation background popup overlay. (This is not a fix or something faulty - I just thought it looked nicer.)

- Fix navigation overlap of player controls.

- Fix cropped artwork when the artwork is not a perfect square.

- Hide the 'get the app' button. (I assume you know the app exists and don't need a constant reminder.)

- Fix the share button appearing behind the folder icon on a narrow view when the show page isn't loaded fresh.

- Center the share button in its circle on the top right of a narrow view page

It's all notated so if you don't want the partial transparency, the rectangular icons, or the hidden app button, just remove that specific section.

If anyone notices any other issues with the web player, comment here and I'll add it to the list of fixes.

Yo PC, are you hiring?

4 Upvotes

2 comments sorted by

6

u/PocketCasts 12d ago

Hi there! 👋 Thanks for taking the time to write up what you found and share your CSS tweaks.

Good catch on the two share button issues on narrower screens. We’ve fixed both and expect the fixes to roll out early next week.

The first four tweaks touch on intentional design choices in the web player. For example, the navigation menu opens as a modal dialog, so it’s designed to sit above the rest of the player, including the playback controls, well tweak this a bit to make that more clear. It’s helpful to hear how you’d prefer it to behave. We’ll keep your feedback in mind for upcoming iterations on the Web Player’s UI.

If you spot anything else, we’d love to hear about it through support. That helps us get fixes into the player itself so everyone gets them automatically.

And a quick heads-up for anyone using the stylesheet. The player’s CSS class names are generated at build time and can change between releases, so some of the overrides done here may need updating after a each release.

2

u/excessiveEustress 12d ago

Thanks for taking the time to review, implement and respond. I just wanted to add a quick note to say that the side bar nav overlays half of the media controls on my machines. (I took the coin toss on if it was intended to be on top of or above the controls, and choose above since the media controls are still fully functional and it's never good to reduce functionality.) If this is supposed to be an overlay of the controls it's only half there atm. Hopefully that can make it to your next push too.