mirror of
https://github.com/projectsend/projectsend.git
synced 2026-10-03 21:03:17 +00:00
1b3f014f5f
The sign-in, password reset, setup and share-link pages drew a custom logo 48 pixels tall, so a square logo was a 48x48 stamp. It now gets a box 80 pixels tall and up to 240 wide, so a square logo reads and a wide one still fits a phone. ProjectSend's own logo is unchanged. The site name appeared nowhere on those pages except as the image's alt text. A new switch on Branding → Logo prints it under the logo. It is off by default, because many logos already say the name and would then say it twice. It is stored on the branding row, gated like the rest of the screen (staff, edit_settings, branding.customize), and a withheld capability takes it off the pages along with the logo. The branding API's logo endpoint reports it as show_site_name. The Logo tab now says what size to use and which formats are accepted. SVG stays refused: it can carry script, and the logo is served from the site's own origin. The crop tool the issue also asks for is not part of this. Reported by @jiits (#1798)