bruno icon indicating copy to clipboard operation
bruno copied to clipboard

feat: adjust code editor font size

Open krummbar opened this issue 1 year ago • 1 comments

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

bruno-pr2204-preferences

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.

krummbar avatar Apr 30 '24 04:04 krummbar

I've tested locally, that works. Thanks for it @krummbar

end3rbyte avatar May 01 '24 08:05 end3rbyte