Don't scale down the application logo #2109

Closed
opened 2026-02-05 02:56:05 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @abulgatz on GitHub (Feb 19, 2021).

Currently the application logo gets scaled down to 43px in height.

This doesn't look very good on a High DPI screen (above 100% scaling on Windows, most modern Macs, smart phones, etc.).

I'm not sure the scaling is necessary at all, but if we want to keep the scaling, 2x (86px) is probably a better height to scale to.

Originally created by @abulgatz on GitHub (Feb 19, 2021). Currently the application logo gets scaled down to 43px in height. This doesn't look very good on a High DPI screen (above 100% scaling on Windows, most modern Macs, smart phones, etc.). I'm not sure the scaling is necessary at all, but if we want to keep the scaling, 2x (86px) is probably a better height to scale to.
OVERLORD added the 🛠️ Enhancement🏭 Back-End labels 2026-02-05 02:56:05 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Feb 20, 2021):

Thanks for raising @abulgatz,
I'd want to keep the scaling but agree, we should double it up for HighDPI.

@ssddanbrown commented on GitHub (Feb 20, 2021): Thanks for raising @abulgatz, I'd want to keep the scaling but agree, we should double it up for HighDPI.
Author
Owner

@Hecke29 commented on GitHub (Mar 5, 2021):

Current code already contains 86px for height-scaling (and does so since 2 years): 5e01c30882/app/Http/Controllers/SettingController.php (L61)

Should it be doubled to 172 or is this task stale?

@Hecke29 commented on GitHub (Mar 5, 2021): Current code already contains `86px` for height-scaling (and does so since 2 years): https://github.com/BookStackApp/BookStack/blob/5e01c30882892089b2475a15830abf583a9cc486/app/Http/Controllers/SettingController.php#L61 Should it be doubled to `172` or is this task stale?
Author
Owner

@abulgatz commented on GitHub (Mar 5, 2021):

Actually, when I just tried uploading a logo, it didn't scale at all with my current latest Bookstack install, so I'm not sure what's going on?

@abulgatz commented on GitHub (Mar 5, 2021): Actually, when I just tried uploading a logo, it didn't scale at all with my current latest Bookstack install, so I'm not sure what's going on?
Author
Owner

@ssddanbrown commented on GitHub (Mar 6, 2021):

@Hecke29 Thanks for checking, I'd say double should be enough.

@abulgatz Just tested it against the latest version and the logo got scaled to 86px. Is your uploaded image at least 86px in height or have you made any modifications to the code of your instance?

@ssddanbrown commented on GitHub (Mar 6, 2021): @Hecke29 Thanks for checking, I'd say double should be enough. @abulgatz Just tested it against the latest version and the logo got scaled to 86px. Is your uploaded image at least 86px in height or have you made any modifications to the code of your instance?
Author
Owner

@ssddanbrown commented on GitHub (Apr 19, 2021):

Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.

@ssddanbrown commented on GitHub (Apr 19, 2021): Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2109