ChatGPT
ChatGPT copied to clipboard
How to zoom or change font size?
Feature description
I wonder if it's possible to customize font size or zoom in level by modifying source or config files.
Motivation
The font is a bit small for me.
Alternatives
No response
Additional context
Something I tried, but failed.
- I tried
Cmd + "+", however it does not work. - And I tried to go to the source file and see two scss files,
src/layout/index.scssandsrc/main.scss. I tried to addzoom: 150%orfont-size: 22pt, and runyarn dev. It seems they doesn't work.
So I wonder which file I should modify to customize the font-size and zoom level?
The website is loaded with an external URL, so it is not in the project and needs to be modified by injecting a script. The application supports script injection, which allows you to modify it through js.
Thank you @lencx for your reply.
I understand that the web is loaded though an external URL. I don't have too much knowledge on js or tauri. So I'd like to do it in an easier way. For example, in most web based desktop apps, such as Electron based, we still can use Cmd + "+" shortcuts to zoom in or Cmd + "-" to zoom out without manipulating the css file. Is it possible to enable that ?
I will optimize it in a future version, because there are still many important features to add to this application, but I am the only one developing it and I need to solve many problems at the same time. This project has already taken too much of my time and effort.
Thank you very much!
I also came here to request the same feature (zooming in and out to change text size, etc...). That would be awesome!
Thank you for all your hard work on this project @lencx . The community is grateful.
Same problem .
https://github.com/lencx/ChatGPT/releases/tag/v0.10.1
New shortcut key to change zoom level (30% - 200%), + or - 10% each time, 0 will be reset to 100% (https://github.com/lencx/ChatGPT/issues/202)
- Windows:
Ctrl +,Ctrl -,Ctrl 0 - MacOS:
Cmd +,Cmd -,Cmd 0

Thank you @lencx for the great feature!
Hello @lencx do you mind telling us how to increase font size for Linux users. Maybe pointing us to the file that should be modified and some documentation on how to compile similar applications could help. I have bad eyesight, I cannot use the application in it's current form, even a 20% increase would be enough. Thank you for your work
@erickrex The linux shortcuts should be the same as the windows ones.
Is it possible to change the font size on the Control Center page?
Doesn't work for me. Windows, 0.12.0. Seems like Ctrl+ and Ctrl- do nothing :(