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> <template>
<style include="shared-styles"> <style include="shared-styles">
textarea { textarea {
border: 1px solid #ddd; border: none;
border-radius: 3px;
box-sizing: border-box; box-sizing: border-box;
font-family: var(--monospace-font-family); font-family: var(--monospace-font-family);
min-height: 60vh; min-height: 60vh;

View File

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