Skip to content

feat: add template editor to the ui #5963

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Feb 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add padding to the editor
  • Loading branch information
kylecarbs committed Feb 5, 2023
commit aad213bf9c0d0a2f4dc2e1c2cec929c9d388037a
4 changes: 4 additions & 0 deletions site/src/components/TemplateVersionEditor/MonacoEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ export const MonacoEditor: FC<{
fontFamily: MONOSPACE_FONT_FAMILY,
fontSize: 16,
wordWrap: "on",
padding: {
top: 16,
bottom: 16,
},
}}
path={path}
onChange={(newValue) => {
Expand Down