| commit | 6cf8997bb16c43f8b802ae481824f30896a0b9b7 | [log] [tgz] |
|---|---|---|
| author | Kasper Nilsson <kaspern@google.com> | Tue Jan 30 17:23:54 2018 -0800 |
| committer | Kasper Nilsson <kaspern@google.com> | Tue Jan 30 17:25:01 2018 -0800 |
| tree | fcd68435f192157cecf29f20e4e46902924afe9c | |
| parent | 385b0d54614daee60a83c483b6d3918d65179b43 [diff] |
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
diff --git a/polygerrit-ui/app/elements/edit/gr-default-editor/gr-default-editor.html b/polygerrit-ui/app/elements/edit/gr-default-editor/gr-default-editor.html index b5573ab..5290bba 100644 --- a/polygerrit-ui/app/elements/edit/gr-default-editor/gr-default-editor.html +++ b/polygerrit-ui/app/elements/edit/gr-default-editor/gr-default-editor.html
@@ -21,8 +21,7 @@ <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;
diff --git a/polygerrit-ui/app/elements/edit/gr-editor-view/gr-editor-view.html b/polygerrit-ui/app/elements/edit/gr-editor-view/gr-editor-view.html index fac3fc1..a217fb4 100644 --- a/polygerrit-ui/app/elements/edit/gr-editor-view/gr-editor-view.html +++ b/polygerrit-ui/app/elements/edit/gr-editor-view/gr-editor-view.html
@@ -52,13 +52,15 @@ 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>