Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
nicer hcl input
Browse files Browse the repository at this point in the history
  • Loading branch information
gregone committed Apr 6, 2021
1 parent f1a4fbb commit 300d5f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/app/components/app-form/project-settings.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@
<Pds::Textarea
id="project-hcl-content"
placeholder=""
class="pds-textarea__codeInput"
spellcheck="false"
rows="14"
value={{this.project.waypointHcl}}
required={{this.this.serverHcl}}
{{on "input" (pick "target.value" (set this.project "waypointHcl"))}}
Expand Down
4 changes: 4 additions & 0 deletions ui/app/styles/_pds-form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,8 @@
white-space: nowrap;
}
}
.pds-textarea__codeInput {
font-family: ui-monospace, 'Menlo', monospace;
font-size: scale.$sm--1;
}
}

0 comments on commit 300d5f6

Please sign in to comment.