diff options
author | Frank Borden <frankborden@google.com> | 2022-09-28 14:14:00 +0200 |
---|---|---|
committer | Frank Borden <frankborden@google.com> | 2022-09-28 14:14:00 +0200 |
commit | 3b3a4c9b54629bf9b492c5717353b6b2644dee3e (patch) | |
tree | 12dc53934199461fcc66e56e10a795c14b19d839 | |
parent | c2528db259dada24836d163b8dd7705e21e81936 (diff) |
Fix margin on saved draft
GrMarkdown migration removed GrFormattedText's :host {display: block;}
rule, and margin did not apply to display: inline element. Block should
instead be set in GrComment who is the one adding the margin.
https://imgur.com/a/2bnzcEd
Release-Notes: skip
Change-Id: I0edb32ca51e9ab960cbb20f55108533bb9cc29db
-rw-r--r-- | polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts b/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts index 6f40254ec5..ad2daf5269 100644 --- a/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts +++ b/polygerrit-ui/app/elements/shared/gr-comment/gr-comment.ts @@ -490,6 +490,7 @@ export class GrComment extends LitElement { width: unset; } .draft gr-formatted-text.message { + display: block; margin-bottom: var(--spacing-m); } .portedMessage { |