-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): Change default language for Resource Editor to YAML and sto…
- Loading branch information
Showing
2 changed files
with
71 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 13 additions & 8 deletions
21
ui/src/app/shared/components/resource-editor/resource.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
@import 'node_modules/argo-ui/src/styles/config'; | ||
|
||
.resource { | ||
margin: 10px 0; | ||
padding: 10px 5px; | ||
font: normal 13px/1.2 'Courier New', monospace; | ||
padding-top: 1em; | ||
white-space: pre; | ||
color: $argo-color-gray-7; | ||
border-color: $argo-color-gray-2;; | ||
border-width: thin; | ||
border-style: inset; | ||
overflow-y: scroll; | ||
width: 100%; | ||
min-height: 300px; | ||
} | ||
} | ||
|
||
.resource-editor-panel { | ||
&__editor { | ||
border: 1px solid $argo-color-gray-3; | ||
border-radius: 5px; | ||
margin-top: 1em; | ||
padding-bottom: 1em; | ||
overflow: hidden; | ||
} | ||
} | ||
|