mitchray / ample

A simple web browser client for Ampache
https://ample-player.vercel.app/
GNU Affero General Public License v3.0
61 stars 13 forks source link

[Feature Request] configurable value for the amount of radius to apply to artist images. #14

Closed Jieiku closed 2 years ago

Jieiku commented 2 years ago

using circle works for majority of artist pictures but I would prefer the square with rounded corner look that the albums displays, otherwise some of the pictures dont get cropped quite right:

2022-04-24_14-08-05

mitchray commented 2 years ago

Artists are circular to differentiate from albums and as you mentioned it works for the majority of pictures

I'm aiming to keep Ample as configuration-free as possible, so adding an option to control the border-radius of artist images is not something I'm open to

I can recommend something like Stylus to override the border-radius with custom CSS

Chrome: https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne?hl=en Firefox: https://addons.mozilla.org/en-US/firefox/addon/styl-us/

Jieiku commented 2 years ago

I figured it out:

sudo sed -i 's/border-radius:50\%/border-radius:9px/' /var/www/ampache/public/ample/public/build/bundle.css