Draw border in editor view instead of editor

This enforces a semi-consistent look between the plugin
(codemirror-editor) and the default editor.

Change-Id: Ib2fade61322382dd4668ac7f9f463a93c2297fb0
This commit is contained in:
Kasper Nilsson
2018-01-30 17:23:54 -08:00
parent 385b0d5461
commit 6cf8997bb1
2 changed files with 4 additions and 3 deletions

View File

@@ -21,8 +21,7 @@ limitations under the License.
<template>
<style include="shared-styles">
textarea {
border: 1px solid #ddd;
border-radius: 3px;
border: none;
box-sizing: border-box;
font-family: var(--monospace-font-family);
min-height: 60vh;

View File

@@ -52,13 +52,15 @@ limitations under the License.
font-weight: bold;
}
.textareaWrapper {
border: 1px solid #ddd;
border-radius: 3px;
margin: var(--default-horizontal-margin);
}
.textareaWrapper .editButtons {
display: none;
}
.rightControls {
justify-content: flex-end
justify-content: flex-end;
}
</style>
<gr-fixed-panel keep-on-scroll>