bruno
bruno copied to clipboard
feat: adjust code editor font size
Description
Fixes #1596
New
Adds a setting to configure the code editor font size. If unchanged it defaults to inherit mode.
Font size property is applied in following components
- Request body editor
- Script editor
- Tests editor
- Docs (edit-mode)
- GraphQL Query editor
- GraphQL Variables editor
- Generated Code
https://github.com/usebruno/bruno/assets/1665841/601dace9-d487-4414-ab1a-2e793948e674
Fix
Fixes font-family not being applied to GraphQL query editor.
Before https://github.com/usebruno/bruno/assets/1665841/60294e21-1128-47dc-8404-77a23ea74e0c
After https://github.com/usebruno/bruno/assets/1665841/c4792ca3-6af6-4caf-b428-a4baccaf9bba
Contribution Checklist:
- [ ] The pull request only addresses one issue or adds one feature. While working on this, I found out that font-family change is not applied to GraphQL requests. Since this is only a minor change I included this as well. Let me know if I should create a separate PR for this.
- [x] The pull request does not introduce any breaking changes
- [x] I have added screenshots or gifs to help explain the change if applicable.
- [x] I have read the contribution guidelines.
- [x] Create an issue and link to the pull request.
I've tested locally, that works. Thanks for it @krummbar