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:
@@ -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;
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user