Merge "Fix the metadata reviewers line height"
diff --git a/polygerrit-ui/app/elements/change/gr-reviewer-list/gr-reviewer-list_html.ts b/polygerrit-ui/app/elements/change/gr-reviewer-list/gr-reviewer-list_html.ts
index ccdcf8d..c7c5efa 100644
--- a/polygerrit-ui/app/elements/change/gr-reviewer-list/gr-reviewer-list_html.ts
+++ b/polygerrit-ui/app/elements/change/gr-reviewer-list/gr-reviewer-list_html.ts
@@ -27,6 +27,11 @@
}
.container {
display: block;
+ /* line-height-normal for the chips, 2px for the chip border, spacing-s
+ for the gap between lines, negative bottom margin for eliminating the
+ gap after the last line */
+ line-height: calc(var(--line-height-normal) + 2px + var(--spacing-s));
+ margin-bottom: calc(0px - var(--spacing-s));
}
.addReviewer iron-icon {
color: inherit;
@@ -39,11 +44,14 @@
top: 1px;
}
gr-button {
+ line-height: var(--line-height-normal);
--gr-button: {
padding: 0px 0px;
}
}
gr-account-chip {
+ line-height: var(--line-height-normal);
+ vertical-align: top;
display: inline-block;
}
</style>